2 ms·
The issue's not setTimeout. Even with requestAnimationFrame, you'd combine it with setTimeout to control framerate and cpu usage. The issue is the css properti
by winrid 7y ago
The issue's not setTimeout. Even with requestAnimationFrame, you'd combine it with setTimeout to control framerate and cpu usage.
The issue is the css properties manipulated, as commented by another person.