Lesson 4 of 51 · Basics
The Turtle Canvas
The canvas is where your turtle draws. You can control its size, background color, and title.
Python
from turtle import *
setup(600, 400)
bgcolor("cyan")
title("My First Canvas")
forward(100)
done()Output

1
Screen Setup
setup(width, height) changes the window size. bgcolor("color") sets the background. title("My Art") changes the window title.
2
Coordinate System
The center of the canvas is (0, 0). The turtle starts there facing right (east).