What is Tweener?
Tweener uses window.requestAnimationFrame() function for animations, instead of classic
setTimeout(). This new function of HTML5 makes animation fully synchronized with display redrawing frequency, everything will be very smooth.
- Tweener is very small - it is under 15 kB (7 kB minified). Most of it are transition functions.
- Tweener is written very efficiently. Even intensive tweening does not drain CPU.
Tweener is located under a short URL http://tweener.ivank.net/t.js
- addTween(o:Object, params:Object)
-- time, delay, transition, onStart, onStartParams, onUpdate, onUpdateParams, onComplete, onCompleteParams
Not all functionality of Caurina tweener is implemented in Tweener. If you want something new, or you find a bug, let me know.