Skip to content

valera-rozuvan/JSTweener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSTweener

javascript tweener for animation

about

Originally created by Yuichi Tateno.

Yuichi Tateno (secondlife)
<hotchpotch@[email protected]> | 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).

example

JSTweener.addTween(element.style, {
  time: 3,
  transition: 'linear',
  onComplete: function() {},
  width: 200,
  height: 200,
  left: 500,
  top: 300
});

live demo

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.


license

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:

  1. github.com/valera-rozuvan/JSTweener

  2. gitlab.com/valera-rozuvan/JSTweener

  3. git.rozuvan.net/JSTweener

Copyright (c) 2013-2022 Valera Rozuvan

Copyright (c) 2007 Yuichi Tateno

About

javascript tweener for animation

Topics

Resources

License

Stars

Watchers

Forks