Spirograph Nov. 7, 2014 in Javascript, Toys, University
Despite their simplicity, a spirograph can create complex and visually appealing shapes. Originally designed to help prevent banknote forgeries, the spirograph is now a children’s toy sold worldwide.
Using simple mathematical equations I’ve created a simulation that creates many random Spirographs. Behind the scenes each Spirograph is rendered to a canvas buffer which is then drawn to the main canvas for performance. Why not play, the code is on GitHub.
Click or use +
/-
/C
to create or remove spirographs. Scroll to speed up or slow down time. Press space to play or pause the simulation. Press T
to toggle trails.