superframe
superframe copied to clipboard
[Animation] consider slerp option for rotations
Perhaps as an ease function, added by the component to anime.js as a custom ease function. THREE may already have a slerp implementation to use: https://github.com/mrdoob/three.js/blob/ff2ce5657cf1e2567c7d240ff881b2564d133570/src/math/Quaternion.js#L21
The lerp component has slerp for rotations:
https://github.com/haydenjameslee/aframe-lerp-component/blob/master/index.js#L46