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
are there any release browsers using RequestAnimationFrame yet? it's on my internal feature list (which reminds me, we should probably port those here), but my impression was this wasn't very pressing ATM.
The main change would be to work the framerate code in there. Since RAF is called at 60fps. I did something similar in my anim8 library so it would be really easy to make this happen.
Let me see if I can do a Pull Request for you later.
Using RAF would make drawing more efficient and sync up the draw with the refresh of the screen (60hz).
Since cross browser support sucks, use the HTML5 RAF polyfill:
https://gist.github.com/1579671
The text was updated successfully, but these errors were encountered: