Live data from Hacker News

Programming SDF animations of Rick and Morty

danielchasehooper.com

11–20 of 42 posts

Re: Programming SDF animations of Rick and Morty

#14
post #8

Really nice work and great post. Just to add, if you want smooth anti-aliased edges without the second super-sampling pass, you can use standard derivatives in your SDFs. Basically, replacing your step functions with 'aastep', e.g. https://github.com/glslify/glsl-aastep

[deleted]

Re: Programming SDF animations of Rick and Morty

#17
post #15

Does anyone know if the portal animation from Balatro is done in the same way?

I think the Balatro background is a shader but the technique and effect it gives are different - this one has a static "ring" that shrinks as it moves inward to the horizon, the Balatro one has a fluid motion to it.

The Balatro background reminds me (intentionally, I suspect) of demoscene effects, I love it

Post reply on HN