Jump to content
Search Community

Draw SVG on outlined SVG's

mikeebee test
Moderator Tag

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 have a suite of icons that I was considering doing the gradually drawn line thing to using DrawSVG.

 

Thing is, they are all outlined SVGs, no stroke. Am I right in thinking that this won't be possible. Is there any way to convert if this is the case?

 

See Codepen for example.

 

Thanks!

See the Pen ZGWaJN by anon (@anon) on CodePen

Link to comment
Share on other sites

I think you're right - there's no auto-conversion of a filled path to an equivalent stroked one. If you bring that artwork into a program like Illustrator, you could probably manipulate things pretty easily, like select the inner piece and have Illustrator offset the path by a certain number of pixels so that it is perfectly centered inside the fill area, and then stroke that and export it. Just an idea. 

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