Jump to content
Search Community

Odd result with DrawSVG

jroncero test
Moderator Tag

Go to solution Solved by Carl,

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 jroncero,

 

I had a look at your CodePen but, could you be a bit more specific as to what is not happening? I mean, am not sure what is the SVG you are referring to.

 

Are you talking about the DrawSVG plugin? Is that line of yours originally a dashed line? If that is the case, and that is what you are trying to Tween, PointC has an explanation on how you can achieve that. Here is the

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

.

 

Hope this helps.

  • Like 1
Link to comment
Share on other sites

It seems you just had the id of #up on the svg instead of the polyline. see fixed and reduced version here: http://codepen.io/GreenSock/collab/MKMLVr/

This works, thanks.

 

I noticed however, that you edited the SVG itself to have the polyline property, which was not present in Illustrator export file. Did you use a specific tool to update the SVG?

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