randomGaussian
randomGaussian([quality], random) ⇒ number
Returns a random number within a normal distribution (Bell/Gaussian curve)
Kind: global function
Returns: number - value between 0 and 1 with normal weight at 0.5
| Param | Type | Default | Description |
|---|---|---|---|
| [quality] | number | 6 | controls number of "die rolls" used to approximate curve, more rolls - better approximation but higher cost of computation |
| random | function |