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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rick

Rick

Photo of Morty

Morty

Photo of sdf animations

sdf animations

Related news:

News photo

Functional Rick and Morty Butter Bot can roam your breakfast table

News photo

Google’s new ‘Platform and Devices’ team puts Android, Chrome, Pixel, more under Rick Osterloh

News photo

Rick and Morty’s Dan Harmon and Scott Marder are trusting the process for season 7