Jump to content
Search Community

Animate clipped path inside SVG

ouadielim test
Moderator Tag

Recommended Posts

Hi, I would like to achieve the following animation but I'm not sure what I'm missing:

- The Pink shapes need to move inside the Blue shapes indefinitely to show some motion.

 

I used clip path to get the Pink shapes within the Blue shapes, but after applying a Tween on them, they "overflow" the clip path.

 

Any ideas?

Thank you!

See the Pen VweJNwd by olimouni (@olimouni) on CodePen

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...