The central randomizer was sorely needed when I wrote it, and it was quite popular for a while and
was even used by a very large enterprise software company. These days most people have a browser
that supports |
Warning: Although Netscape 2.0 is now two versions
you still ought to look out for. Netscape 2.0 can crash if
to insert an unsized image, Netscape 2.0 will crash. This problem
does not affect NS 3.0 or 4.0 or IE 3.0. Just size your images when you
insert a random one and everything will work out OK.
I wrote this back in December 1995 when I found out that Math.random() didn't work in most versions of Netscape 2.0. The Central Randomizer is a linear congruential random number generator with coefficients from Numerical Recipes, automatically seeded from your system clock.
The Central Randomizer is a good source of mildly random numbers that are quite likely to give you different random numbers every time. This isn't a research grade random number generator and I wouldn't use it to keep secrets, but it's good for many uses. Reload for a fresh batch of random numbers. The central randomizer has a big brother. I've written a high-speed research-grade random number package in Java.
Insert the following into the <HEAD> of your document.
Feel free to use the Central Randomizer on your page. I do ask that
you keep the comment intact; it also would be nice if you were
to drop a link to one of my pages.