JS1k 2019 demo — "Fourier Transform" by Sergey Chernykh

Draw your doodle in one stroke and the script will convert it in a set of sinusoids represented on your screen as moving circles.