javascript tweener for animation
Originally created by Yuichi Tateno.
Yuichi Tateno (secondlife)
<hotchpotch@N0!spam@gmail.com> | https://github.com/hotchpotch | http://rails2u.com/
JSTweener is a tween library for JavaScript. JSTweener's API is like Tweener (archive link).
JSTweener's transitions are Tweener's easing functions (Penner's Easing Equations) ported to JavaScript. See Tweener Documentation: Transition Types (archive link).
JSTweener.addTween(element.style, {
time: 3,
transition: 'linear',
onComplete: function() {},
width: 200,
height: 200,
left: 500,
top: 300
});
With the help of GitHub pages, you can find a live version of the following 3 examples:
Source code lives in examples sub-directory of this project.
The project 'JSTweener'
is licensed under the MIT License.
See LICENSE for more details.
The latest source code can be retrieved from one of several mirrors:
Copyright (c) 2013-2022 Valera Rozuvan
Copyright (c) 2007 Yuichi Tateno