Java Spirograph
Last updated: Monday, March 06, 2000.

This is my first somewhat completed attempt at Java programming. It's a thinly-disguised copy of Sun's 'ArcTest' example program, except that instead of drawing boring old arcs, it draws *Spirographs*! You know, those things where you stick your pen in a gear and spin it around inside another big gear? Well, this is one of those. The numbers at the bottom let you set the number of teeth on the outside gear, the number of teeth on the inside gear, and the pen's position in the inside gear (from 0.0-1.0), respecively. It's pretty crude right now; some day I'll fix it up.

Of course, if you don't have a Java-capable browser, you won't see anything.



The source.


See also:
Brett Allen (brett@snazzorama.com)
This page is Copyright 1994-2006, Brett Allen.