3 ms·
No requestAnimationFrame?
by elwell 5y ago
No requestAnimationFrame?
- capableweb 5y agoBasically the same in this case, as the setInterval is set with 10ms between firings, and requestAnimationFrame would (most likely, depending on computer/display) fire every ~16ms. It would be more efficient though, that's for sure, but most likely basically the same :)