choreographer-js
choreographer-js copied to clipboard
Possible to do linear interpolation (LERP) for scroll animations?
It would be great on page scroll if the animations leveraged linear interpolation so they don't appear so choppy/abrupt.
Here's an excerpt from Rachel Smith's codepen article about moving objects on scroll that outlines this more clearly:
Personally, I’m not really in to the ‘moving things at a linear rate as the page scrolls down’ look. For one, linear movement makes me sad. It also looks kind of choppy if you’re scrolling at random speeds. So instead I like to use linear interpolation to move elements to their target. I think this is one of those effects that are down to personal preference, but I definitely think it makes things look a lot smoother and better.
You can check out an example of how this feels here.
Whatcha think?