Filling Shapes
Fill with color.
Let's Fill Shapes With Color! 🪣🎨
An empty shape is just an outline. ⬜ But what if we could POUR color inside it? 🪣
The turtle can fill shapes with color, like coloring inside the lines in a coloring book! 🖍️
import turtle
t = turtle.Turtle()
t.forward(80)The Magic Words: begin_fill
To start filling, we say t.begin_fill() BEFORE we draw the shape.
This tells the turtle: 'Get ready to fill what I draw next!' 🪣
import turtle
t = turtle.Turtle()
t.begin_fill()
t.forward(80)All lessons in this course
- Turtle Colors
- Filling Shapes
- Many Shapes
- A Colorful Pattern