Spirograph Applet

Created by Anu Garg.

The Spirograph applet is written using Java. You must have a Java enabled browser such as Netscape Navigator or Microsoft IE to be able to see this Spirograph applet.


Technical Stuff

A Spirograph is a curve formed by rolling a circle inside or outside of another circle. The pen is placed at any point on the rolling circle. If the radius of fixed circle is R, the radius of moving circle is r, and the offset of the pen point in the moving circle is O, then the equation of the resulting curve is defined by:

x = (R+r)*cos(t) - (r+O)*cos(((R+r)/r)*t)
y = (R+r)*sin(t) - (r+O)*sin(((R+r)/r)*t)