Jump to content
Search Community

React ScrollTrigger MotionPath question

djoe_dev test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

In the attached codesandbox, I am animating a circle along the motionpath to scrub with scrolltrigger. I would love to have the animated circle stay within the center of the viewport from start to finish. As it is now, the circle speeds up and escapes the viewport, then slows down a lot at the end. I thought maybe this was caused by an easing effect so i set easing to none but did not help.  I wonder why this is? 

 

https://codesandbox.io/s/frosty-poitras-t478y?file=/src/App.js

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...