This applet draws 'spirograph' patterns
by modelling planetary gears
The applet is passed parameters by the web page
which it is embedded in. These define the radii and
pen radii for the various gears. See the following:
example 1 example 2 example 3