4 ms·
Just a note for those planning to make a simple game or animation in JavaScript: in most cases it's preferrable to use `requestAnimationFrame` instead of `setIn
by fainpul 1y ago
Just a note for those planning to make a simple game or animation in JavaScript: in most cases it's preferrable to use `requestAnimationFrame` instead of `setInterval` or `setTimeout`.
https://stackoverflow.com/a/38709924 https://stackoverflow.com/a/38709924
- seivan 1y ago[dead]