3 ms·Uh, why is it so slow?by rkwasny 6y agoUh, why is it so slow?nemetroid 6y agoThe 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