Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startAngle seems #211

Open
mohamed-montaser1 opened this issue Mar 23, 2022 · 2 comments
Open

startAngle seems #211

mohamed-montaser1 opened this issue Mar 23, 2022 · 2 comments

Comments

@mohamed-montaser1
Copy link

How do I make the animation start at the top of the circle??

@jgboulay
Copy link

Set your animationStartValue to 1 and your
startAngle: -Math.PI/2
This should set it to the top. I haven't used this for 3 years so I'm going by memory.

@wasek23
Copy link

wasek23 commented Aug 30, 2023

You can calculate the angle with this. Just enter the degree in this formula.

Math.PI * ((degree / 360) * 2 - 0.5)

0 ° will start from the top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants