Jump to content


DrawSVG doubles stroke of my path – Handwriting Effect : please help

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

I want the SVG animation that I found on the left to have the same effect on the right element. 

What am I doing wrong?!!?!!?! This is driving me crazy -- why is there a double stroke effect? How can I fix this. Any assistance would be greatly appreciated.



See the Pen rypqLW by colleenshaw (@colleenshaw) on CodePen

Link to comment
Share on other sites

Hi colleenshaw :)


Welcome to the forum.


That has nothing to do with the DrawSVG plugin. It's just how you created your SVG - with closed paths from letters. Take a look at this fork of your pen:


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


I've removed the animation, changed the stroke-width to 0.5 and let the SVG expand to 100% so you can get a better look at what's happening. See the difference? Diaco's example has a series of open paths that he created one by one.


I'm assuming you made the letters in AI, converted to compound paths and exported? You have a set of closed paths which gives you the double stroke effect. The handwriting effect is a bit tricky. I wish it were as easy as exporting the paths and drawing the stroke, but you'll have to create your own open paths like Diaco did or use a mask to animate the stroke. 


Does that make sense?


Happy tweening.



PS The K,R, and part of the A look odd because they are just filled paths. 

  • Like 2
Link to comment
Share on other sites

Nice Explanation Craig :)

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