Tuesday, 10 September 2013

Python Drawing a Circle with X Radius Using Forward()

Python Drawing a Circle with X Radius Using Forward()

'Ello, I'm using Python Turtles to draw a circle using forward() and
right() I have a for loop counting from 0 to 359 and each time it
triggers, it moves the turtle forward 1 and right 1. But the problem is I
need specific diameters. I am nearly 100% sure I'll need to use trig, but
I've tried to no avail. I can't figure out the math how to do it. We're
supposed to use forward() and right(), NOT circle()
Thanks!

No comments:

Post a Comment