Closed reetou closed 6 years ago
Hi! Glad to see you here!
At tween.js level, Linear interpolation uses only math number interpolation, but i’l changed to non-math level, so it caches values at core tween, then, calculates values between start and end with elapsed (0...1), which generates by tween.update(time), if it is not a number, it is just moves indexes of values smootly. I now cant describe it very good, so, i recommend you copy this part of code and use as your own. I hope this makes your job easier. Very interestingly, i am when make this lib, checked performance in devices that 5-old and worked well, i recommend you split render and calculation and separate functions and then call first calculation and then render, this way makes rendering much effecient and faster. And please, make sure, use 1 requestAnimationFrame and inside it call multiple renders. This improves performance more than 40%.
Alright, thank you.
Issue
Issue name
Issue description
Related
This issue is related to