Jump to content
GreenSock

fernandofas

Multiple animations SVG pathsand bezier

Recommended Posts

Hi everyone,

 

I'm trying to animate two paths at the same time using svg paths and javascript, but seems something is not right with my codes where I can't find out what is missing.

 

I want each box to run on the different paths.

 

Any idea/s what is wrong with this code?

 

See on codepen:

 

 

 

Thank you very much in advance.

 

Kind regards,

 

 

Fernando Fas

See the Pen WrQeOp by anon (@anon) on CodePen

Link to comment
Share on other sites

Hi OSUblake,

 

Thanks for your reply.

 

I want to make the red box go through the path (first on the left) and the blue box on the path1 (on the right), at the same time.

Your example was great, but both boxes are running at the same path.

 

Thank you

Link to comment
Share on other sites

Hi OSUblake,

 

You are right. 

Your code is awesome and your replies are amazing.

That's exactly what I was trying to do.

 

You are Master!

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