Share Posted September 12, 2022 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 More sharing options...
Solution Solution Share Posted September 12, 2022 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! 2 Link to comment Share on other sites More sharing options...
Author Share Posted September 12, 2022 @Cassie Oh, thank you very much! Was not aware of this, as I saw only one <path> and therefore thought everything here is fine... 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now