Mousecalls Logo runs real Logo turtle graphics in a browser tab. Pupils type commands like fd 100 and rt 90, press Run, and watch the turtle draw. There is no login, no download and nothing is uploaded — it works on school laptops, Chromebooks and tablets, and it keeps working if the Wi‑Fi drops.
Written for Year 4 Programming A — Repetition in Shapes (NCCE / Teach Computing), and useful anywhere pupils meet loops for the first time.
Every picture below was drawn by the code beside it. Type it into the editor and press Run.
repeat 4 [fd 100 rt 90]
Four sides, four identical turns. The whole idea of repetition in one line: four is the only thing that changes when you want a different shape.
repeat 5 [fd 150 rt 144]
Ask why it is 144 and not 72. The turtle turns twice around as it draws, so the angle is 360 × 2 ÷ 5. You can type the sum straight in: rt 720 / 5.
repeat 60 [fd repcount * 2 rt 90]
repcount counts the times round the loop, so every side is longer than the last. This is usually the moment a class realises a loop does not have to repeat the same thing.
to petal repeat 2 [fd 80 rt 60 fd 80 rt 120] end repeat 6 [petal rt 60]
Give a shape a name with to … end and it becomes a command of its own. A loop of loops — and the first step towards procedures and decomposition.
The commands pupils need most. The full list, with search, is in the Help panel inside the app.
| Command | Short | What it does |
|---|---|---|
forward 100 | fd 100 | Move forwards 100 steps, drawing if the pen is down. |
back 100 | bk 100 | Move backwards 100 steps. |
right 90 | rt 90 | Turn clockwise 90 degrees. |
left 90 | lt 90 | Turn anticlockwise 90 degrees. |
repeat 4 […] | Do everything in the brackets again and again. | |
repcount | How many times round the loop you are — 1, 2, 3 … | |
penup / pendown | pu / pd | Move without drawing, then draw again. |
setpencolor red | setpc | Change the pen colour — a colour word, 0–15, or [r g b]. |
setpensize 5 | Make the line thicker. | |
clearscreen | cs | Clear the drawing and send the turtle home. |
hideturtle | ht | Hide the turtle so only the drawing shows. |
to name … end | Teach the turtle a new command of your own. | |
make "size 120 | Store a number under a name, then use it as :size. | |
random 100 | A surprise number from 0 to 99. |
to … end and reusing it — the first real procedure most pupils write.fd 100 on the board and run it. Then rt 90. Ask what four of each would make before anyone types it — predicting first is what makes the loop land.fd 100 rt 90 four times. Then show repeat 4 [fd 100 rt 90]. Having written the long version is what makes the short one feel like a win rather than a rule.fd, bk, rt, lt, repeat, to … end — so worksheets and examples written for those carry straight over.