You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
The introduction to the function setInterval says: setInterval(func, n) is a way to run a function every n milliseconds yet during implementation n has to be computed like so:
// Draw twenty frames per second (20 * 50 = 1000 milliseconds)
setInterval(frame, 50);
This is confusing. For consistency we could have the function take in millisecond units or have an explanation for the conversion.