andreasplesch / aframe-keyframes-component

keyframe interpolation for aframe
https://andreasplesch.github.io/aframe-keyframes-component/examples/basic/
MIT License
4 stars 0 forks source link

better keys default #8

Closed andreasplesch closed 7 years ago

andreasplesch commented 7 years ago

[0,1] is only useful for a single to value. Change default to [0, 1/n, 2/n, n/n] n = to.length -1

andreasplesch commented 7 years ago

in glitch, commit

andreasplesch commented 7 years ago

simpler to default to [], and have only regular tween then