Discrete Fourier Transform: Draw your system of epicycles

Instructions
[size=150][b]1.[/b] Use the the Pen tool [icon]/images/ggb/toolbar/mode_pen.png[/icon] to create a closed loop on the top graphics view.[br][br][b]2. [/b]Then select [icon]/images/ggb/toolbar/mode_move.png[/icon] and [b]Click[/b] on the button [b]Plot Epicycles[/b] (bottom graphics view).[br][br][b]3.[/b] Select an object and then use the menu [img]https://1.bp.blogspot.com/-el-5yLqezA4/X8yBbyyR6lI/AAAAAAAAZtQ/ZeQqeN04IBYuKmtIB3EDi4XDr34EjzqWgCLcBGAsYHQ/s0/style-icon-ggb.png[/img] in the right-corner to change the style (colours, size).[br][br][b]4.[/b] Have Fun!!![br][br][b]Note:[/b] You can download your creation. If you like to share it, send me a tweet: [url=https://twitter.com/jcponcemath]@jcponcemath[/url][br][/size]
Acknowledgements
Special thanks to [url=https://www.geogebra.org/u/thijs]Thijs[/url] who helped me to improve the script and performance. See this [url=https://www.geogebra.org/p/no1Fv72PPX0]thread[/url] for details.

Information: Discrete Fourier Transform: Draw your system of epicycles