About Logo Trail

Suppose you want to draw a street at night.That is enough to begin.

Logo Trail is a place to work an idea out in code. The turtle follows each instruction exactly, leaving a line behind. You can see what the program did, decide what you meant, and try again.

street.logohouse 70 moveToNextLot 24 house 48 moveToNextLot 18 house 82
One possible ending. The interesting part is how the program got there.

The idea behind Logo

Move a turtle. Watch a program take shape.

Logo is a programming language created for learning through exploration. Its best-known workspace is turtle graphics: a small cursor with a position and a direction, ready to follow instructions such as forward, right, and repeat.

The first result can appear after one line of code. From there, the same language reaches procedures, variables, recursion, geometry, and surprisingly intricate art. It is approachable for a first-time programmer without being limited to beginners.

Logo Trail keeps that direct relationship between code and result. It runs in the browser, so there is nothing to install and no prerequisite beyond curiosity.

A short conversation with the canvas

  1. forward 80A line appears.
  2. right 90The turtle changes direction.
  3. repeat 4 [forward 80 right 90]A square emerges from a rule.
  4. to house :sizeThe program learns a new idea.

The project notebook

Four pages from idea to program

This is a representative project, not a recipe everyone must follow. It shows the kind of decisions a drawing can invite when the code stays visible beside the result.

Page 1 · The idea

“I want to make a street at night.”

That is enough to begin. The first sketch has three houses, a moon, and more windows than anyone wants to draw one at a time. It is not a plan yet. It is a reason to make one.

Next questionWhat is the smallest part we can make first?

The idea before the instructions.

Page 2 · Something works

Four sides make a wall

The square appears, but the turtle finishes where it started and the roof is still missing. Now there is a real object on the screen to reason about.

repeat 4 [
  forward 70
  right 90
]

Next questionHow can it reach the top-left corner without drawing an extra line?

The drawing after page 2.

Page 3 · A name for the pattern

A house becomes something the program knows

Once one house works, copying it feels clumsy. Giving the steps a name makes the idea reusable. Adding an input lets the same idea grow or shrink.

to house :size
  repeat 4 [
    forward :size right 90
  ]
  ; add the roof
end

Next questionWhich measurements should change with :size?

The drawing after page 3.

Page 4 · A street with choices

The code repeats; the drawing does not have to

House sizes, gaps, colors, and windows become choices rather than chores. The finished street still contains the first square, but the thinking around it has changed.

house 70
moveToNextLot 24
house 48
moveToNextLot 18
house 82

Next questionWhen is the project finished?

The drawing after page 4.

What the notebook records

The drawing changes. So does the language around it.

At first “I copied the square three times.”
Later “I made a house procedure and gave it a size.”
At first “The roof came out wrong.”
Later “The turtle was facing the other way, so I changed the turn.”
At first “It looks finished.”
Later “The gaps feel too even. I want the street to look older.”

Why the turtle helps

Every command has somewhere to go.

The turtle has a position and a heading. Ask it to move and the line shows the distance. Ask it to turn and its new direction stays visible. An abstract instruction becomes an event that happened on the page.

When something goes wrong, the picture is evidence. You can locate the first unexpected line, read the command that produced it, and make a deliberate change.

forward 60
Instruction, movement, result. Nothing is hidden.

Same tools, different streets

A shared starting point does not require a shared ending.

Change the inputs, the spacing, or the underlying shape and the project becomes someone else's.

A bright villageSame house procedure, warm colors and wide gaps.
A crowded skylineNarrow lots and a size variable pushed much further.
A geometric townThe roof angle becomes the main idea.

Your turn

Begin with one house—or ignore the street entirely.

The drawing page is open, and the turtle is waiting for its first instruction.