Hi, Racket Discourse.
All the talk about 2D coordinates reminded me I had been playing around with Fourier Transforms earlier in the year.
I had always been intrigued by them, but never really taken the time to grok them enough to do anything interesting.
Luckily, they are super easy once you get the gist of it. There are many better explanations than I could manage here, but at least this will give you a taste of what they can do!
("fourier-racket.txt"
. fourier-loop .
#:msecs-per-frame 40
#:save-gif-to-file "racket-epicycles.gif")
As is tradition, the Racket logo. (compressed a bit to fit here)
The code includes the ability to generate a GIF from the resulting animated transform, although the implementation is not very performant, so expect to see some stuttering for higher-density inputs.
I used coördinator to convert the Racket logo SVG into a set of coordinates to draw. Very nifty little site.
Happy hacking!