It required me to relearn Parametric Equations, refine my knowledge of Class Objects, learn the controlls functions in VPython and push the boundaries of my computer's memory.
In order to run this code you will need:
Python 2.6 - The interpreter for the code. Check out the programming page if you would like to know more about implementing Python or programming in your classroom.
VPython - The visual add on for Python.
Psyco - Speeds up the code significantly so I could run it on older laptops. If you don't want it or need it, feel free to delete the first couple of lines (before the "from visual")
Enjoy the pictures and the code below, and please share any great code you have or suggestions.
Spirograph Maker inspired by http://www.math.com/students/wonders/spirographs.html
Subscribe to BrokenAirplane!