Randomness - from uniform to normal distribution

Pairs of uniformly distributed random numbers are converted to pairs of normally distributed random numbers by the so-called polar Box-Muller transform.

Pseudo-random numbers uniformly distributed between -1 (inclusive) and 1 (exclusive) are generated from JavaScript's Math.random() function.
The normal distribution is shown to 3 standard deviations.