Project 3 — Rocket Launch 🚀
Animate a rocket launching into the sky with a trail of smoke
behind it. Meet Python’s for loop — a way to repeat
something N times.
🎯 What you’ll build
A night-sky scene where a rocket flies upward, leaving a trail of smoke puffs behind it. Each puff appears one after the other, animated.
🧩 Python you’ll meet
turtledrawing (recap)forloop withrange()— do something N times-
screen.ontimerfor animation (we already met this in Project 1, sort of) - 🧩 4 steps
- ⏱️ About 30 minutes
- 🏆 Type: Explore
Note: RPF’s original uses
p5. We useturtleso the drawing code looks different, but theforloop concept is the same.
Adapted from Raspberry Pi Foundation — Rocket Launch under CC BY-SA 4.0.