donalgrant / spiro

Code and notebooks related to spirograph and harmonographs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Consider making all spiro components objects #5

Open donalgrant opened 1 year ago

donalgrant commented 1 year ago

I.e., both the fixed (e.g. ring) and moving (e.g. wheel) components could be objects. They would have their own sizes, shapes, and positions. But would they have any interesting methods?

donalgrant commented 1 year ago

wheel can have a radius, a pen location (radius), and a pen offset angle. The "slide" factor could also be a function of the wheel. Perhaps that would allow these values to be parameterized.