Re:Breaking down a ripple animation in JavaScript
by onion2k on Thursday August 19, 2021 @04:43PM
(#28239137)
This is a naive, but very fun, implementation of a 2D signed distance field. It's the same principle that artists like iq use to make amazing shader animations.
https://www.iquilezles.org/www/articles/distfunctions/distfu...