Jump to content
GreenSock

Separator

Multiple morphSvg animations at the same time

Go to solution Solved by PointC,

Recommended Posts

Hi there,

I'm having trouble making both these shapes (the blue one and the red one) happen at the same time. 

I also want to set the text in the middle hidden initially and only the mask will make it visible.

What im doing wrong here? I think it might be a silly mistake which i cant find out.

Thanks!

See the Pen qBpOXLa by Separator (@Separator) on CodePen

Link to comment
Share on other sites

  • Solution

Hi @Separator :)

 

Welcome to the forum.

 

You'd want to use the position parameter to start both of the morph tweens at the same time.  Here's a fork of your pen with that change and some other updates to the GSAP3 syntax.

 

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

 

Happy tweening and welcome aboard.

:)

 

  • Like 2
Link to comment
Share on other sites

Thaaanks a lot! :)

Your support is amazing as i see in other topics here. Never seen a support like this!

Keep it up!

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