← Back home

Draw Turtle Shapes

Load or write turtle programs, then run them to draw creative shapes.

  • Logic
  • Medium
  • 6 min
  • 9-12

Draw Turtle Shapes

Pick a fun program or write your own turtle commands. Try commands like forward, left/right, repeat, penup/pendown, and setxy.

Pick a preset or write your own program.

Commands Cheatsheet

  • forward <steps> - move forward on the grid.
  • left/right <angle> - turn clockwise or counter-clockwise.
  • repeat <n> [ ... ] - run the commands inside the brackets n times.
  • penup / pendown - move without drawing, or resume drawing.
  • setxy <x> <y> - jump directly to a coordinate.

How to Play

About the game: Draw Turtle Shapes is the sandbox for confident coders. It mixes curated presets with an open editor so learners can remix, annotate, and export their own turtle art.

How it works: Load a preset to study how the authors used `repeat`, `setxy`, or `pendown`, then tweak the script or start from a blank canvas. The live renderer plots every segment, highlights errors, and leaves the cursor at the final position so students can keep building.

Skills & next steps: Players refine debugging habits, explore nested repeats, and connect algebraic thinking to motion. Challenge them to optimize a design using fewer commands or to comment each section for a classmate. Pair it with Trace Point Shapes for coordinate fluency or Build Polyominoes for a tactile complement.