🐢 GCSE Turtle Graphics Homework – Step-by-Step
Revision
🎯 Goal: Practise all turtle commands from the PLS
✅ 📦 Before Every Task: Set Up the Screen
Make sure every task begins with this setup:
import turtle
screen = turtle.Screen() # Create the turtle screen
screen.setup(800, 600) # Set the window size
turtle.mode("standard") # Ensure standard mode
t = turtle.Turtle() # Create the turtle
🔹 Task 1: Move and Turn
Objective: Practise basic movement commands.
t.forward(100)
t.left(90)
t.forward(100)
✅ Commands used: forward() , left()
🔹 Task 2: Draw a Square with a Loop
Objective: Use iteration to draw a shape.
for _ in range(4):
t.forward(100)
t.left(90)
✅ Commands used: for , forward() , left()
🔹 Task 3: Add Color and Thickness
Objective: Use pen customization commands.
t.pencolor("blue")
t.pensize(3)
for _ in range(4):
t.forward(100)
t.left(90)
✅ Commands used: pencolor() , pensize()
🔹 Task 4: Move Without Drawing
Objective: Use pen control and positioning.
t.pendown()
for _ in range(4):
t.forward(100)
t.left(90)
t.penup()
t.setposition(150, 0)
t.pendown()
for _ in range(4):
t.forward(100)
t.left(90)
✅ Commands used: penup() , pendown() , setposition()
🔹 Task 5: Fill a Triangle
Objective: Use shape filling commands.
t.fillcolor("red")
t.begin_fill()
for _ in range(3):
t.forward(100)
t.left(120)
t.end_fill()
✅ Commands used: fillcolor() , begin_fill() , end_fill()
🔹 Task 6: Use circle()
Objective: Draw full and partial circles.
t.circle(50) # Full circle
t.penup()
t.setposition(150, 0)
t.pendown()
t.circle(100, 180) # Semi-circle
✅ Commands used: circle(radius) , circle(radius, extent)
🔹 Task 7: Use home() and reset()
Objective: Control turtle position and clear the screen.
t.forward(100)
t.home() # Go back to (0, 0)
t.forward(50)
t.reset() # Clear everything
t.forward(100)
✅ Commands used: home() , reset()
🔹 Task 8: Set Heading and Position
Objective: Use direction and absolute movement.
t.penup()
t.setposition(100, 100)
t.setheading(45)
t.pendown()
t.forward(100)
✅ Commands used: setposition(x, y) , setheading(degrees)
🔹 Task 9: Show and Hide the Turtle
Objective: Control turtle visibility.
t.hideturtle()
t.forward(100)
t.showturtle()
t.forward(100)
✅ Commands used: hideturtle() , showturtle()
🔹 Task 10: Final Drawing Challenge
Objective: Combine everything into one creative scene.
Create a drawing that includes:
A filled square
A filled triangle
A full circle (maybe the sun)
Movement and positioning
Customized pen and fill colors
Creativity is encouraged, but you must use:
fillcolor() , begin_fill() , end_fill()
penup() , pendown()
setposition() , setheading()
circle()
reset() or home() somewhere
📌 Task completion Instructions
Save each task as:
Firstname_TaskX.py