Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

A very simple and lightweight JavaScript tweening engine.

var target = {value: 0.0};
Tween.to(target, 1.0, {value: 1.0})
// optional delay
.wait(0.5)
// optional easing function
.ease(Tween.Quint.inOut)
// attach lifecycle callbacks
.start(function(){
console.log('started');
})
.step(function(tween){
console.log('step', tween.progress);
})
.done(function(){
console.log('done');
})

About

Simple lightweight js tweening engine

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages