Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
marko krstic

Multiple Morph SVG

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

Hello dear GreenSock friends,

I started learning Morph SVG and I stuck a little. 

Im morphing between 3 paths and step 2 is visible.

What is doing now is going from step 1 to 2. Stop. Then it's going from 2 to 3.

Is it possible that all 3 steps are in one "easing" so the visitor don't see that stoping?
 

See the Pen qBWeBGY?editors=1010 by krstivoja (@krstivoja) on CodePen

Share this post


Link to post
Share on other sites

Hey Marko! 

 

The trick to doing something like this is creating a timeline that morphs (probably with linear/no easing) and then tweening that timeline that you created with the easing that you'd like. Something like this should work:

 

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

  • Like 1

Share this post


Link to post
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

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. 


  • Recently Browsing   0 members

    No registered users viewing this page.

×