web-feature: requestAnimationFrame()
The requestAnimationFrame() method schedules a function that runs before the next repaint. You can use it to animate content with JavaScript.
The requestAnimationFrame() method schedules a function that runs before the next repaint. You can use it to animate content with JavaScript.