Use TurboWarp if you plan to create more complex drawings; it should handle them more effectively. https://turbowarp.org/869286615?fps=60&hqpen Draw a picture and see it turned into some beautiful epicycles computed with the Discrete Fourier Transform. Press the Space key to jump back to the start of the playback, and push the Left Arrow key to reverse time
This project uses the Discrete Fourier Transform algorithm to draw user-created paths. You can learn all about it here https://thecodingtrain.com/challenges/130-drawing-with-fourier-transform-and-epicycles All credit to thecodingtrain.com and Daniel Shiffman for the original JavaScript code. 2025 Update! Added new features: Color of circles, # of epicycles, playback control. 7/21/2025