The spirograph draws pictures by allowing one cog to run around another.
There are three parameters which dictate the picture. These are:
- Number of teeth in the small cog
- Number of teeth in the big cog
- Position of the pen in the small cog (as a percentage of the small cog radius).