Web features explorer

requestAnimationFrame()

Widely available
Tags: api

The requestAnimationFrame() method schedules a function that runs before the next repaint. You can use it to animate content with JavaScript. To learn more, see Window: requestAnimationFrame() method at MDN.

Compatibility (view on caniuse.com)

Specifications