Skip to content

Instantly share code, notes, and snippets.

@jeremyckahn
Created May 19, 2011 13:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyckahn/980789 to your computer and use it in GitHub Desktop.
Save jeremyckahn/980789 to your computer and use it in GitHub Desktop.
A rough, incomplete README

Tweeny

Tweeny is a tweening engine for JavaScript. That's it. Tweeny is meant to be a low level tool that can be encapsulated by higher-level tools. It does:

  • Tweening.
  • Extensibility hooks for the tweening.

Tweeny doesn't do:

  • Keyframing.
  • Queuing.
  • Drawing.
  • Much else.

Possible API

tweeny.tween( fromProps, toProps, duration, easingFormula );

or...

tweeny.tween({
  fromProps:  {  },
  toProps:    {  },
  duration:   1000,
  easing:     'linear',
  step:       function () {},
  complete:   function () {}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment