tweenjs / es6-tween

ES6 version of tween.js
MIT License
186 stars 34 forks source link

Latest Tween.js ES6 #7

Closed dalisoft closed 7 years ago

dalisoft commented 7 years ago

Features

Usage

var tween = new TWEEN.Tween({x:0}).to({x:100}).easing(TWEEN.Easing.Quadratic.InOut).onUpdate((object, elapsed) => {
    console.log(object);
}).start();

requestAnimationFrame(function anim(time){
    requestAnimationFrame(anim);
    TWEEN.update(time);
});

If this makes V2 starting...

NOTE

sole commented 7 years ago

Cool stuff! Thanks. I merged it.

Since you know what you're doing, would you like to lead this repo? It would make a lot of sense!

dalisoft commented 7 years ago

Hi. Thanks. Wow. Wow. This is first my pr that merged. I am impressed

dalisoft commented 7 years ago

This is very good words. If you like. I am very happy to lead it

dalisoft commented 7 years ago

There maybe joins @mikebolt and other contributors for better improving. Would you like emit events for callbacks or just callback as function/method (current variant). I am do everything as possible to make it better

sole commented 7 years ago

The truth is that I do not need an ES6 version, and so I do not know what features are required or not! I think it's best if people who need/want it are the ones working on it (like you!).

dalisoft commented 7 years ago

Thanks. I can add addinational features like play, pause?

sole commented 7 years ago

Sure why not? As long as people know this is an experimental version, you should be free to experiment with new features. You do not need my permission - I am going to make you owner of the repo.

dalisoft commented 7 years ago

Thanks a lot. I make this best as possible