Jump to content
Search Community

Need some help with morphSVG and scrollTrigger

iotron test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • 2 weeks later...

I noticed a few problems:

  1. You forgot to load DrawSVGPlugin. Here's the URL of the trial version that only works on CodePen/CodeSandbox: https://assets.codepen.io/16327/DrawSVGPlugin3.min.js
  2. DrawSVGPlugin works by animating the STROKE of an SVG element, but most of your artwork has no stroke. It's actually built using filled paths, so that can't work. You'd need to rebuild your SVG artwork so that it uses strokes rather than filled paths.
  3. You set up your animation so that you animate ALL the strokes of ALL the artwork at the very start of your timeline (before anything else happens). I imagine you just wanted that to happen on the very first piece of artwork, right? 

Good luck!

  • 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.
×
×
  • Create New...