A Spirograph Applet
A circle is rotating at a rate determined by the setting of
the upper scrollbar. A second circle of half the radius is attached
to the first; the center of the second circle is on the circumference
of the first. The second circle rotates at a rate
determined by the second scrollbar.
For example, if the scrollbar settings are 3 and 17, then
as the first circle rotates 3 times, the second will rotate
17 times.
To understand why the values 3 and 17 produce 14-fold symmetry (count the loops!),
we can follow the argument given by Frank A. Farris, "Wheels on
Wheels on Wheels - Surprising Symmetry", Mathematics Magazine,
Volume 69, No. 3, June, 1996, pp. 185-189.
3 and 17 are both congruent to 3 (mod 14). Using complex
numbers, we can write the equation of the curve as

Consider what happens to any of the wheels when time is advanced
by 1/14th of a period. The contribution of any wheel is

so that the wheel is back where it started, but rotated 3/14-ths
of the way around. Each wheel has the same behavior, so we get
14-fold symmetry.
In general, we get m-fold symmetry if the two numbers are congruent
(mod m).
Be patient - initialization takes a few seconds.
Source code
This page is maintained by: Robert F. Rossa who can be reached at
rossa@csm.astate.edu
Last revised on: 12/22/97