Welcome to Linear Congruential Generators
Your assignment is to design a generator which give a quasi uniform random coverage.
You can adjust the following parameters:
These parameters are adjustable in the window labelled random.
If it has not appeared try reloading this page.
- multiplicative factor
- additive constant
- inclusion of an additional carry term
This page requires a Java aware browser
This is a local variant of Marsaglia's solution to the parking problem.
The applet is based on a more militaristic example called "cannon", coded by Sean Russell
Graphic images by Amy Hulse