Jump to content
GreenSock

OSUblake

Loop RawPath

Recommended Posts

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 :) 

  • Like 1
Link to comment
Share on other sites

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

 

 

  • Like 1
Link to comment
Share on other sites

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? 

  • Like 3
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.
×