Copy this bookmark:



description:


tags:



Better random numbers for javascript, v. 0.9
I present several PRNGs that should have much better statistical properties than the built-in Math.random. They have been taken from, or inspired by, well-known sources on the subject, and they have been extensively tested. They share a common interface, but the actual algorithms differ, so that one can choose the best for one's platform and needs.
javascript  math 
february 2012 by statico
view in context