You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.
I'm seeing some repeats in animation when I set the animated duty cycle to <= 0.5. And I think this is due to using Math.max() to limit the interpolated value. When the animation range is small enough, the time is interpolated to fit more than one sine wave.
According to the method doc ("Sets the fraction of the animation loop time spent actually animating. The rest of the time will be spent "resting"), it seems that this:
That would work, if you wanted to change the behaviour of the animation. I suppose the documentation might be a bit misleading given what the code actually does... Will issue a minor update to address this.
I'm seeing some repeats in animation when I set the animated duty cycle to
<= 0.5
. And I think this is due to usingMath.max()
to limit the interpolated value. When the animation range is small enough, the time is interpolated to fit more than one sine wave.According to the method doc ("Sets the fraction of the animation loop time spent actually animating. The rest of the time will be spent "resting"), it seems that this:
Should actually be this:
Thoughts?
The text was updated successfully, but these errors were encountered: