Get the latest tech news
Programming SDF animations of Rick and Morty
An interactive guide on making animations on the GPU
After 8 months of working on this post I don’t know how to start it except to say it culminates in this animation of Rick made in 240 lines of code. I did find one trick that sped up the trial and error process: I flashed my reference image of Rick on top of the preview so I could compare my drawing to the original while I was changing the code. The sin is important because it wraps the ever-increasing time value into the range of -1 to 1, which makes nice looping animations.
Or read this on Hacker News