Turtle Art Studio

P4 to P6
Write code that draws!
All projects

L1. The Merlion's Pedestal

Draw a closed square with side 100, finishing on the same heading it started.

4 lines drawn

YOUR CODE · 10 LINES

Budget: repeat is locked on this level. Feel the copy-paste pain that Level 2 removes.

Watch out for

Stopping after the third turn. The square looks finished, but the turtle is left facing North. A square is four sides AND four turns.

Every word the turtle knows
  • forward 100
  • back 50
  • right 90
  • left 90
  • penup
  • pendown
  • pen red
  • pen hue 120
  • penwidth 3
  • home
  • repeat 4 { ... }
  • set angle = 90
  • define star { ... }

Colours: black, grey, white, red, orange, yellow, green, teal, blue, purple, pink, brown. Write a defined name on its own line to run it.

Junior CodersFree, no sign-up

Turtle Art Studio

Write a few lines of turtle code and watch a picture draw itself, then save it or send a remix link. Suits P4 to P6. Teaches loops, angles, variables and naming your own commands.

What this teaches, and who it suits

Turtle Art Studio is a free coding playground for Primary 4 to Primary 6. Children type short commands (forward, right, repeat, define) and a turtle draws the picture line by line. Twelve levels build from a single square up to nested loops and named procedures, with a line budget that makes copy and paste stop working, so a loop becomes the obvious answer. Angles are real geometry here: the turns in a closed shape always add up to 360 degrees. Finished pictures can be saved as an image or shared as a remix link that opens with the code, not just the result.

It is free to play, needs no account and runs in the browser on a phone, tablet or laptop. Nothing a child makes is stored on our servers: a shared link carries the work itself.

Try another class band