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

A critical issue in function _setDots #12

Open
samiswt opened this issue Apr 25, 2016 · 0 comments
Open

A critical issue in function _setDots #12

samiswt opened this issue Apr 25, 2016 · 0 comments

Comments

@samiswt
Copy link

samiswt commented Apr 25, 2016

A variable named position in _setDots function defined a parametric formula of a circle. Left property of position should be X coordinate and top should be Y, then the parametric formula of the circle should be:

left: radius * cos(angle) + origin.x;
top: radius * sin(angle) + origin.y;

Since circle is a symmetric shape, so you will never catch the issue.

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

1 participant