Learning goals

  • Draw a circle with a chosen radius.
  • Explain where the turtle starts when it draws a circle.
  • Move the turtle so a circle is centered at a chosen position.

How do we draw a circle?

You can draw a circle with otto.circle(radius). The radius is the distance from the center of the circle to its edge.

Radius of a circle

import turtle as otto

otto.circle(50)

Predict: where is the circle? Around the turtle, above it or below it?

Answer: where is the circle?The circle is above the turtle. The turtle starts at the bottom of the circle. Look at the animation below.

Animation of the turtle drawing a circle

This draws a circle with a radius of 50. The turtle walks around the circle and ends up where it started.

Try it yourself: Click the Run button. The drawing appears below the code.

Then make the circle bigger and click Run again.

import turtle as otto

otto.circle(50)

Where does the circle appear?

The turtle does not start in the middle of the circle. It starts at the bottom of the circle. The turtle draws counterclockwise: it turns left, like the hands of a clock going backwards. So when the turtle faces right, the middle of the circle is radius steps above the turtle.

How do we center a circle?

To put the center at (0, 0), first move the turtle to the bottom of that circle. That is radius steps below the center. Lift the pen so you do not draw a line on the way:

import turtle as otto

otto.penup()
otto.goto(0, -50)
otto.pendown()
otto.circle(50)

Animation of the turtle drawing a circle around the center

Example: a snowman

A snowman is a big circle with a small circle on top. This program draws one:

import turtle as otto

otto.penup()
otto.goto(0, -100)
otto.pendown()
otto.circle(50)

otto.penup()
otto.goto(0, 0)
otto.pendown()
otto.circle(30)

Animation of the turtle drawing a snowman

  1. The turtle goes to (0, -100) and draws the big circle. The turtle starts at the bottom of the circle.
  2. The big circle is 100 steps high. So its top is at (0, 0).
  3. The turtle goes to (0, 0) and draws the small circle on top.

Summary

Command What it does
otto.circle(radius) Draws a circle with the given radius. The center is above the turtle.