tween.js
tween.js copied to clipboard
JavaScript/TypeScript animation engine
Hi! Thank you for the great project. I hope there would be docs in Korean. I guess `README.md` and documents in `docs` would be sufficient. If it is ok, I...
Hi, thanks for this great lib its really useful! But i've fallen into some trouble that i cant figure out. Within my three.js scene i have camera and avatar objects...
WIP as I havent added an example yet, I will if you are happy with the addition to the API. ## What? New method: `Tween.startFromCurrentValues(time?: number)` * Starts the tween...
I try to generate 6 tweens at one time, and stop each tween in onComplete callback. like the code below. but i only saw 3 complete massage printed at the...
We should make a GitHub action so that when we update our README it automatically goes to the website. At the moment, our [README](https://github.com/tweenjs/tween.js/blob/master/README.md) is out of sync with the...
This pr fix #620
`_valuesEnd[property]`'s length will grow endless, because it's a reference to `this.valuesEnd` https://github.com/tweenjs/tween.js/blob/8db070d25a82c19772352bbcbc33a326e6882b4e/src/Tween.ts#L138-L150 checking this demo, just click the start button twice or more: https://jsbin.com/hulidowipa/edit?html,js,output
Given a value of 300, this is very close Easing.Exponential, but it will hit 0 when amount is 0, therefore being an alternative to Exponential to avoid the jump issue...
## Related Issues Properties of Easing object can reassignment #610 Add unit test for easing function #608 [comment](https://github.com/tweenjs/tween.js/pull/608#discussion_r624423020) ## Purpose of this Pull Request This PR is to block any...
## Description All properties of the `TWEEN.Easing` object allow reassignment. ## Expected Behavior Easing functions and groups in `TWEEN.Easing` do not allow reassignment. ## Actual Behavior Easing functions and groups...