43 points · by simonsarris · 15y ago · 9 comments
I believe Angry Birds is done in WebGL, but also falls back to Canvas 2D for browsers (or computers) that don't support WebGL.
I like that with projects like this you don't have to wait 2/3 months: you can use it now.
[1] http://www.browserscene.com/2011/05/google-chrome-adds-optio...
A little article with shim code: http://paulirish.com/2011/requestanimationframe-for-smart-an...
Draft: http://webstuff.nfshost.com/anim-timing/Overview.html
.. Sorry the spec does say the callback should be provided the time as an argument. It's just not being used in these examples.
I guess it's possible there are such huge differences, but it's surprising to me.