Ages 9–14 · Grades 4–8 · Computer Science

DoodleForge

The pen waits at the start, facing right. Tap to run forward(60).

Read the pen program, predict the picture, then watch the pen draw it: the repeats are the sides, the turn is the corner.

Every picture here is drawn by really running the code — nothing is a stock image. Runs on your device; nothing leaves it.

Where this idea comes from

The turtle’s family tree

In 1948 and 1949 the brain scientist W. Grey Walter built two small robots in Bristol, Elmer and Elsie, which he called tortoises. They wandered towards light and steered round things in their way, with no program at all, just a few wires and valves.

One thing to hold: Logo, a programming language designed for children in 1967 at the company BBN by Wally Feurzeig, Seymour Papert and Cynthia Solomon. A few years later it got a turtle: first a robot on the floor that drew with a pen, then a triangle on a screen. FORWARD 50 and RIGHT 90 moved it, the same idea as forward(50) and turn(90) here.

Why it matters: A turtle draws from where it stands: “go forward, then turn” is how you would walk a shape yourself. That is why a square is four forwards and four quarter turns, and why the turns of any closed path add up to whole turns.

What we don’t know: Logo is often credited to Papert alone, but it was designed by three people, and Cynthia Solomon’s part was overlooked for a long time. The first floor turtles are not dated to the month in the sources: around 1970 is as close as they say.

Dates:

  1. 1948 Grey Walter builds the first of his robot tortoises.
  2. 1967 Feurzeig, Papert and Solomon design Logo at BBN.
  3. 1970 About now, a floor turtle with a pen draws Logo programs.
  4. 1980 Papert’s book Mindstorms explains turtle geometry for teachers and parents.

Sources: W. Grey Walter, “An Imitation of Life”, Scientific American 182 (May 1950) · Cynthia Solomon, Brian Harvey, Ken Kahn, Henry Lieberman, Mark L. Miller, Margaret Minsky, Artemis Papert and Brian Silverman, “History of Logo”, Proceedings of the ACM on Programming Languages 4 (HOPL), 2020 · Seymour Papert, Mindstorms: Children, Computers, and Powerful Ideas (Basic Books, 1980)

Meet the cast — the characters who teach this

  • Wonky picks a turn by feel and the shape won't close — you teach the full turn
  • Rosette draws a shape again and again, turning a little each time
  • Curlicue lets each side grow a little longer, into a spiral
  • Penwick counts the sides and keeps the pen on the page

What next? Pick a door

Chosen from what this app is about. What you open is remembered on this device only.