Per our spectrum conversation:
I’m attempting to create a continuous sine wave animation. I’ve gotten pretty close with https://codesandbox.io/s/lx5nvqz6pq but noticed that the animation pauses between keyframes, likely due to friction deceleration. Would it make sense to optionally allow users to specify a duration-based easing for these kinds of zero-delay, linear, continuous animations?
(FYI - my initial approach was a Trail based animation similar to https://codesandbox.io/s/q9lozyymr9 but I needed the first element to continue along the sine wave before the last element finished animating, and even then each element’s animation would be affected by the preceding element so the amplitude of the sine wave would decrease the further they were from the first element.)
Thanks again for this delightful library!
Per our spectrum conversation:
I’m attempting to create a continuous sine wave animation. I’ve gotten pretty close with https://codesandbox.io/s/lx5nvqz6pq but noticed that the animation pauses between keyframes, likely due to friction deceleration. Would it make sense to optionally allow users to specify a duration-based easing for these kinds of zero-delay, linear, continuous animations?
(FYI - my initial approach was a Trail based animation similar to https://codesandbox.io/s/q9lozyymr9 but I needed the first element to continue along the sine wave before the last element finished animating, and even then each element’s animation would be affected by the preceding element so the amplitude of the sine wave would decrease the further they were from the first element.)
Thanks again for this delightful library!