Jump to content
Search Community

DrawSVG // Stroke has 3 startingpoints

LIEPS GmbH test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

Hello, i just wanted to create a stroke animation but it has 3 starting portions in the middle of the stroke. It should started from the bottom and should go to the top in one line. Before generating the SVG Code i had to connect the strokes in Adobe Illustrator because these strokes were separated. 

What can i do to solve this problem?

See the Pen KKbYZQW by Sofatroll (@Sofatroll) on CodePen

Link to comment
Share on other sites

  • Solution

Hi @LIEPS GmbH welcome to the forum and thanks for being a Club Greensock member!

 

Creating SVG ready for animation is a skill on to it self. It indeed looked like you had created one line, but that wasn't the case. My advies would be to enable "Outline" mode (cmd + Y or ctrl + Y, View > Outline)  in Illustrator and tweak the line with the "Direct Select Arrow (A)", and selecting the two points > right click "Join", then manipulate the line to see if they are really joined to getter. Also remove unesserarly points on the line (really easy to spot with "Outline" mode on). 

 

Also check out our own @PointC turorials on SVG https://www.motiontricks.com/adobe-illustrator-path-direction-quick-tip/ 

 

Hope it helps and happy tweening! 

 

See the Pen gOZyegz?editors=1100 by mvaneijgen (@mvaneijgen) on CodePen

  • Like 3
  • Thanks 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.
×
×
  • Create New...