Skip to content

Instantly share code, notes, and snippets.

@jeremyckahn
Created November 13, 2014 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyckahn/2600aaacfec31913d083 to your computer and use it in GitHub Desktop.
Save jeremyckahn/2600aaacfec31913d083 to your computer and use it in GitHub Desktop.
A Pen by Jeremy Kahn.
var tween = new Tweenable({}, {
from: { x: 0 },
to: { x: 10 },
duration: 1000,
step: function (state) {
console.log(state);
}
});
tween.seek(50);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment