Jump to content
Search Community

Draw SVG line as in real life

wisepeople test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Hello all good GSAP human beings!

Just starting adventure with GSAP, and having some issues, currently with simple drawing SVG line on scroll. My question is - how to achieve effect of drawing this svg curved line as if it was being drawn from start to beggining by one person with one pen... because right now it looks like the animation starts from the beggining of the SVG line(bottom left) and at the same time from the end (top right corner). How to achive "drawing with one pen" effect? What am I doing wrong here?

Thanks for any hints!
 

See the Pen MWGjyNW by ilonu (@ilonu) on CodePen

Link to comment
Share on other sites

  • Solution

Hey there! You've got a compound path here 

You'll need to redraw it as one line

Here's an article about making and releasing compound paths. If you release it in illustrator you'll see that it's actually two paths not one.

https://design.tutsplus.com/tutorials/illustrator-in-60-seconds-what-are-compound-paths--cms-26544

Very common thing to stumble on!

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