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 10 - Circles

In LOGO circles can be described in terms of polygons with an infinite (in this case large number) of sides - investigate this definition further.

LOGO Challenge 5 - Patch

Stage: 3 and 4 Challenge Level: Challenge Level:1

You will need procedures for:
  • square
  • triangle
  • the patch itself.
How is the patch made?
You could decide to draw only some of the shapes as the rest (say the triangle at the centre will be defined by the squares around it.
How about colouring the squares in?
Here are the commands you will need:
SETFLOODCOLOR < n> - where n can be any number from 1 to 15
FILL - - - - - - - - - this fills the shape with your flood colour.

Note that you have to be inside a shape to fill it.

Here is an example of drawing an equilateral triangle - moving inside it to fill it the returning the turtle to the starting point. Notice also that you need to lift the pen to move it into the shape and put it down again:
to filltri

REPEAT 3 [FD 40 RT 120]
PU RT30 FD 2 PD
SETFLOODCOLOR 8
FILL
BK 2 LT 30
end
Example tiling


Example tiling