The updated anime.js documentation (Controls->Seek) says that you can control the animation while scrolling, but there is no example.
Could anyone give an example of how to set up animation.seek?
https://animejs.com/documentation/#seekAnim
var animation = anime({
targets: '.seek-anim-demo .el',
translateX: 270,
delay: function(el, i) { return i * 100; },
elasticity: 200,
easing: 'easeInOutSine',
autoplay: false
});
var seekProgressEl = document.querySelector('.seek-anim-demo .progress');
seekProgressEl.oninput = function() {
animation.seek(animation.duration * (seekProgressEl.value / 100));
};