SpiroGraphics


A popular drawing toy in the 1970s consisted of a set of plastic cogs and toothed wheels. A cog would be placed inside a wheel so that its teeth engaged on those on the inside rim of the wheel. It would then be rolled around the rim while a pen, inserted through a hole in the cog, traced out a pattern.

The effect can be recreated by a simple Java program.

Want to know more about drawing SpiroGraphics?

  1. Simple Patterns
  2. Star Patterns
  3. Flower Patterns
  4. Complex Patterns
  5. Try it out for yourself

The java code for the pattern above is Pattern1.java.


S. J. Ambler
Last modified: Wed Feb 1 16:36:19 GMT 2006