Monday, April 23, 2012

HTML5 Polyfills - Fullscreen & RequestAnimationFrame APIs

So far, those are the best polyfills for using Fullscreen and RequestAnimationFrame features from HTML5 on today's browsers.


RequestAnimationFrame API

Optimize concurrent animations together into a single reflow and repaint cycle, leading to higher fidelity animation, and using less CPU, GPU, memory, and battery.


http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating

Fullscreen API

Provides an easy way for web content to be presented using the user's entire screen.


https://github.com/sindresorhus/screenfull.js

No comments:

Post a Comment