/joe/ITP/*.*
HOME | ABOUT
Joe Versoza. Projects, course journals and other nerdy goodness @ ITP.
02-11-2005
RANDOMLY

A popular way of generating random numbers is using this recursive formula: x = (a * x' + c)%m where x' is the previous x (or the seed if there is no previous x). Tweaking the constants effect how "random" the numbers are. Graphing x against x' reveals patterns that show how effective a particular set of constants are at generating random numbers.

Use '1-9' to view presets.

Source