Drawing Pi 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!