Jump to content
GreenSock

venn

DrawSVG always starts at 3'oclock. How to change it to start at 12'oclock?

Moderator Tag
Go to solution Solved by ochalmers,

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 folks,

 

I am trying to draw my circle from 12oclock onwards.

I have tried multiple ways but I seem to can't figure out how to do this?

 

Any help will be appreciated (:

 

Thanks,

Venn.

See the Pen mEKypK?editors=1010 by vennsoh (@vennsoh) on CodePen

Link to comment
Share on other sites

Bit of a hack but you can rotate the circle :)

 

See the Pen KrZwZK by olichalmers (@olichalmers) on CodePen

 

Thanks for the suggestion!

 

I thought about this too. Do you reckon this is the only way?

Link to comment
Share on other sites

I think you can get the right solution by playing around with the percentage settings in drawSVG but i'm not exactly sure. 

  • Like 1
Link to comment
Share on other sites

Hi venn  :)

 

That has nothing to do with the DrawSVG plugin. SVG circles always start in the 3 o'clock position so ochalmers solution of rotating the circle 90 degrees is the best answer.

 

Happy tweening.

:)

  • Like 4
Link to comment
Share on other sites

Hi venn  :)

 

That has nothing to do with the DrawSVG plugin. SVG circles always start in the 3 o'clock position so ochalmers solution of rotating the circle 90 degrees is the best answer.

 

Happy tweening.

:)

 

Thanks for the clarification!

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