Fast Fourier Transform
Game Introduction
Faster version: https://forkphorus.github.io/#326011268 Fast Fourier Transform formula from https://github.com/FabiKl/Fourier-Transform-drawing-3.0 If you want to learn more about Fourier Series, I recommend checking out 3blue1brown's Youtube video on it or viewing this interactive website about Fourier Tranforms: http://www.jezzamon.com/fourier/ Big thanks to @RedCMD and @Hardmath123 for previous Fourier series projects.
How To Play
Controls: [r] - redraw [e] - edit/draw [s] - share drawing [i] - import drawing [space] - pause [w] - toggle clear drawing [z] - zoom & follow [mouse to bottom of screen] - show/adjust variables The dark blue line represents what is supposed to be drawn, and the light blue line is the output of all the epicycles (rotating circles). Each circle is rotating at a constant rate of an integer (-5, -4, 0, 2, etc.). By changing the amplitude of each sine wave (aka the radius of the epicycle), and the phase shift (where the sine wave starts), you can pretty much make any closed loop shape. The order of the epicycles do not affect the final shape, but they are sorted from largest to smallest to give the best visual effect (sort code from @RedCMD). ----- Drawing tip: Draw slowly for more/slower circles (although this does increase lag). Also, when in following mode, a small (decimal) zoom value causes 'shakes' in the screen because each imperfection from the circles is magnified when zoomed out.
Author
Breck-
Category
Game Information
Game Popularity
969 views
Collection Count
74 favorites