3 ms·
I find it surprising to introduce a function intended for animation callback that doesn't seem to provide facilities for time handling. That is, the callback d
by radarsat1 15y ago
I find it surprising to introduce a function intended for animation callback that doesn't seem to provide facilities for time handling. That is, the callback doesn't seem to be provided with the current time, and requestAnimationFrame() does not take a desired FPS as a parameter.
.. Sorry the spec does say the callback should be provided the time as an argument. It's just not being used in these examples.