Re:Breaking down a ripple animation in JavaScript
by fenomas on Thursday August 19, 2021 @11:02PM
(#28242021)
There's no recursion involved with RAF or looping with setTimeout. In either case the "anim" function doesn't invoke itself, it calls a scheduling function and passes itself as an argument.
[ Parent
| on HN ]
There are no comments on this comment yet.