• Returns a random number from a Gaussian (or normal) distribution.

    Parameters

    • height: number

      Height of distribution

    • mean: number

      Mean of distribution

    • deviation: number

      Standard deviation of distribution

    Returns number

    Example

    // Standard Gaussian distribution
    const gaussRandom = Chalkboard.numb.Gaussian(1, 0, 1 / Chalkboard.real.sqrt(Chalkboard.PI(2)));

Generated using TypeDoc