3 ms·
more "spraycanny": http://codepen.io/anon/pen/utcLx http://codepen.io/anon/pen/utcLx
by andrelaszlo 13y ago
more "spraycanny":
http://codepen.io/anon/pen/utcLx http://codepen.io/anon/pen/utcLx
- Kronopath 13y agoApproximating a normal distribution by summing three uniformly distributed random numbers is pretty clever. And it's a nice visual effect as well.
- RobinL 13y agoA nice illustration of the central limit theorem! http://en.wikipedia.org/wiki/Central_limit_theorem http://en.wikipedia.org/wiki/Central_limit_theorem This means there's nothing special about 3 - the more times you add uniforms together, the more normal it becomes. Also it doesn't matter if the uniform isn't uniform.