> To animate the wave in JavaScript, we can use setInterval to repeatedly call our drawRipple() function, and pass in a timestamp to adjust the wave position.
You described generating a ripple still-frame then completely glossed over the “animation” part.