You may also like

problem icon

First Forward Into Logo 1: Square Five

A Short introduction to using Logo. This is the first in a twelve part series.

problem icon

LOGO Challenge 1 - Star Square

Can you use LOGO to create this star pattern made from squares. Only basic LOGO knowledge needed.

problem icon

LOGO Challenge 5 - Patch

Using LOGO, can you construct elegant procedures that will draw this family of 'floor coverings'?

LOGO Challenge 4 - Squares to Procedures

Stage: 3 and 4 Challenge Level: Challenge Level:1
You can create several procedures for different objects and combine them:
Here is a procedure for a square (called "sq"):
To sq
REPEAT 4 [FD 40 RT 90]
end

And, here is a procedure for an equilateral triangle:
To tri
REPEAT 3 [FD 40 RT 120]
end

Here is a procedure for a "house"!
To house
sq FD 40 RT 30 tri
end

See if you can produce some patterns based on "sq" and "tri" using procedures.
The biggest challenge is to be able to tell the turtle how to get to the right place pointing in the right direction to join shapes together in the way you intended.
Can you write a procedure to produce a row of houses?