anime
anime copied to clipboard
Question about animation.seek() controls and easing on every seek
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In the example https://animejs.com/documentation/#seekAnim, is there any way to add easing function after every seek? Seems the easing only applies at the end of the animation. I'm using this to animate while scrolling, but for dynamic scrolling it would be nice to be able to add easing after every scroll or seek call. Does this make sense?
Describe the solution you'd like A clear and concise description of what you want to happen.
This example is not using anime.js but wanted to show the desired scrolling effects. See how even after you do a scroll, the animation eases in. https://codepen.io/thienedits/pen/QWGwEqr
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Maybe this can help? https://github.com/juliangarnier/anime/issues/703