Jump to content


Missing something obvious with MorphSVG?

Recommended Posts

Hey there 👋


Not much to this one really.. Just getting started and with MorphSVG and I can't figure out what I'm missing.

Any help pointing out the obvious would be great.



See the Pen jOqqLVB by samuelhigginson (@samuelhigginson) on CodePen

Link to comment
Share on other sites

Well hot dog. 

Right under my nose.

Thanks a bunch Craig. 


  • Like 1
Link to comment
Share on other sites

You're very welcome. :)


Thanks for supporting the platform with your Club membership. It's greatly appreciated.

  • Like 2
Link to comment
Share on other sites

Yep, Craig is right. Also...

  1. Don't use percentage-based widths/heights on that <rect> in order to make it cleanly convertible. Your viewBox is set to 1920x1302, so just use those values. 
  2. Your end shape is way off the bottom of your viewBox. I assume you didn't mean to do that(?) It's how your artwork is built - it has nothing to do with GSAP. 
  3. It's probably a good idea to get in the habit of registering the plugins you use. GSAP tries to automatically do it for you when it can, but in some cases that's impossible (hence the good habit to do it yourself). 

Here's a fork of your demo where I slowed down the morph quite a bit and used a different ease so you can notice what's going on better: 

See the Pen 71551d04da7a6959baf08752b3da6f89?editors=0010 by GreenSock (@GreenSock) on CodePen

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