Hi,
I'm a total noob so I've been inspecting Rodrigo's solution to try to understand the concepts as I would like to come up with something similar but there is one thing I need help with. Using a constant end point results in the perceived scroll speed changing with varying height of the content being animated as you can see on this codepen which is a copy of Rodrigo's only with varying content in each div.large-child. I failed to come up with a solution trying eg...
end: () => `+=${large.clientHeight / 5}`
or something to that effect.
Any ideas on how to have a consistent scroll speed with varying amounts of content in the animated elements?
Thanks!