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

Updated function arc() to be simpler #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abhitrueprogrammer
Copy link
Contributor

Updated arc() to just draw a circle but only till the angle required. This approach is simpler than using an obscure formula [n = int(arc_length/3) +1] and doesn't even cause the turtle to be a few pixels away from true destination. Tested using first drawing a circle but then drawing a arc on top of that circle, which perfectly matches it. Its also easier to understand by even the uninitiated in math
14 08 07 python_002942
.

Updated arc() to just model a circle but only till the angle required. This approach is simpler than using an obscure formula [n = int(arc_length/3) +1] and doesn't even cause the turtle to be a few pixels away from true destination
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

Successfully merging this pull request may close these issues.

1 participant