Share Posted April 21, 2020 Is there a way to get the raw path to loop? I thought the BezierPlugin used to do this when the start and end points were close to each other. See the Pen 6aca5e9d4531ac3aa08ecf1a2f8bba91 by osublake (@osublake) on CodePen 1 Link to comment Share on other sites More sharing options...
Share Posted April 21, 2020 This is why I used an SVG path for circular motion. Couldn't figure out how to get regular points to do the same thing but I figured it was just my ineptitude 1 Link to comment Share on other sites More sharing options...
Author Share Posted April 21, 2020 Well, that's probably more accurate, but it used to loop with the BezierPlugin. Maybe Jack forget to implement it, or it's undocumented. 🤷♂️ See the Pen bdOJmz by MAW (@MAW) on CodePen 1 Link to comment Share on other sites More sharing options...
Share Posted April 21, 2020 Ah yes. I see what you mean. I updated MotionPathPlugin so that if the start and end points are basically on top of each other, it'll treat it like a closed path and cause the curve to go through them. Here's an updated demo with both shapes: See the Pen 70e2ac2b56adbc74f34c1c7a9a04762c?editors=0010 by GreenSock (@GreenSock) on CodePen Is that what you're looking for? 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now