The Hack Club icon, drawn with 80 spinning circles

With the fourier transform you can draw any shape with just a sum of rotating circles. My animation starts with 5 circles, then 15, then 40 and then 80 with a special add-on!

f(t) = Σ cn · e2πint

Each term is one circle and ccn sets its size and starting angle, n controls how fast it spins.

View Source on GitHub Hack Club