Jump to content


Animating SVG in circular path

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I'm trying to animate the plane to follow the path of the dotted line and move it around the earth. I cannot use rotation because obviously that just animates it in place. 

See the Pen jQmbYV by matt-pichola (@matt-pichola) on CodePen

Link to comment
Share on other sites

I think svgOrigin will solve this for you. 


See the Pen bQWVJB by PointC (@PointC) on CodePen


Just FYI, please don't include member only plugins in your demos. You can find all the CodePen Club GreenSock plugin versions here:


See the Pen OPqpRJ by GreenSock (@GreenSock) on CodePen


See the Pen djXzyR by GreenSock (@GreenSock) on CodePen


Happy tweening.



  • Like 5
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.