3 ms·
The loop is scheduled using window.requestAnimationFrame, which follows the browser's refresh rate.
by nemetroid 6y ago
The loop is scheduled using window.requestAnimationFrame, which follows the browser's refresh rate.
- atum47 6y agoIt also detect hardware to decide if it's going to run at 60 or 120 fps. Also don't animate if the tab is not visible