Jump to content
Search Community

drawsvgplugin change starting point?

danehansen 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

hey wondering if there is a simple way to adjust where an enclosed path is drawing from, using this plugin. i'm assuming its starting from the beginning point of the path, but when output from illustrator or such, we dont always have control on where on the object is going to be defined as the beginning or end of a path. so for instance if i have a polygon and out of the box the outline draws in starting at 12 o'clock and fills in until its enclosed, what if i wanted the line to beign at 3 o'clock or something else? thank you.

Link to comment
Share on other sites

You have control over the start/end of the stroke, yes, but I think you may be talking about something else. If, for example, you want to animate starting from 30% into the path, and fill it in all the way to 100% and then "continue" (wrap) from 0% to 30%, no, that isn't possible because technically that'd be like 2 strokes/dashes. The best way to get that effect is to simply change your path so that it starts exactly where you want it to start (in your example, 3 o'clock). 

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