Beginners to LOGO programming may want to start by working through the FIRST FORWARD series of introductory articles before tackling this problem.

Tiling Designs

Inside a London tiling shop were some spectacular designs for people to choose from when deciding to tile their kitchens, bathrooms, hallways or wherever!

Three designs in particular caught my eye and I invite you is to reproduce these tilings using LOGO procedures.

 Alternatively you might like to experiment with the following: TO TRI :X :Y IF :X < :Y [STOP] REPEAT 3 [ FD :X TRI :X/2 :Y RT 120] END Begin with TRI 100 4 and see what conclusions you can reach. Why not expand the procedure to draw squares?

Extension:

Consider the following procedure which like those from last month uses a variable:

TO SEQUENCE :N
PRINT :N
WAIT 20
SEQUENCE :N + 1
END

n.b. the primitive WAIT is to simply slow the procedure down.

Talk through with others what you think is happening.

Type in the procedure and test out your thinking.

Consider the following procedures in turn.

Talk each one through with others.
Make notes about what you think will happen.
THEN type in the procedure and test out your thoughts.

TO SEQUENCE2 :N
PRINT :N
WAIT 20
SEQUENCE2 :N * 2
END

TO SEQUENCE3 :N
PRINT :N
WAIT 20
SEQUENCE3 :N *2 - 1
END

 TO SEQUENCE4 :N PRINT :N WAIT 20 SEQUENCE4 :N - 4 END TO SEQUENCE5 :N PRINT :N WAIT 20 SEQUENCE5 :N *2 + 3 END