2 ms·
> requestAnimationFrame would not help But have you tried it?
by zfg 2y ago
> requestAnimationFrame would not help
But have you tried it?
- noduerme 2y agoYes. The same slowdown of about 50% occurs between about seconds 10 and 50 whether it's in a requestAnimationFrame loop or a setTimeout loop. And the slowdown is measurable in just the time it takes to modify a Uint8ClampedArray within the loop.