Drawing a Cat with epicycles

You can study the GGBScript for details in the Setup button. In this version I was able to reduce the amount of lists to calculate the Discrete Fourier Transform with low frequencies. Check this tweet to see an animation: https://twitter.com/jcponcemath/status/1219928096880525317?s=20 This is an adaptation from the amazing worksheet Epiciclos e Séries de Fourier (Batman) made by Humberto Jose Bortolossi. Finally, the GGBscript was significantly improved thanks to the great master Thijs. Now the performance of the applet is better. Enjoy!
For more info about the Discrete Fourier Transform check these links: http://brettcvz.github.io/epicycles/  https://youtu.be/qS4H6PEcCCA