Jump to content
Search Community

Draw SVG creating different sections on a path

pauljohnknight test
Moderator Tag

Go to solution Solved by PointC,

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

Hi

 

I've started using the drawSVG plugin and I have a problem with my animation, namely the path itself is being broken up into individual sections.  I cannot seem to get to the root of the problem.

 

I've copied the code into this codepen  to illustrate what is happening. I've included two sets of SVG, the first is the code for the original SVG and the second is the problematic one with the animation on.

 

My initial thoughts are I need to change the something about the source SVG code, but I can't seem to work out what aspect of it may be incorrect.

 

Thanks in advance for any help.

 

Paul.

See the Pen WGkbjB by pauljohnknight (@pauljohnknight) 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...