You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The circle() method for a Turtle is defined take have a centre position that is radius units to the left of the turtle's current position; when radius is positive the circle should proceed in the counterclockwise direction and when radius is negative the circle should proceed clockwise.
The current implementation of circle() fails in two distinct ways:
When radius is negative the turtle ends up in the wrong position after the command.
When radius is negative no arc or circle is drawn.
The first issue appears to be to do with the Python circle() method does not invert the sign of the extent when the radius is negative. I'm not certain what the cause of the second problem is.
The text was updated successfully, but these errors were encountered:
The
circle()
method for a Turtle is defined take have a centre position that isradius
units to the left of the turtle's current position; whenradius
is positive the circle should proceed in the counterclockwise direction and whenradius
is negative the circle should proceed clockwise.The current implementation of
circle()
fails in two distinct ways:radius
is negative the turtle ends up in the wrong position after the command.radius
is negative no arc or circle is drawn.The first issue appears to be to do with the Python
circle()
method does not invert the sign of the extent when theradius
is negative. I'm not certain what the cause of the second problem is.The text was updated successfully, but these errors were encountered: