You will need procedures for:
- 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
How about colouring the squares in?
Here are the commands you will need:
SETFLOODCOLOR < n> - where n can be any number from 1 to
FILL - - - - - - - - - this fills the shape with your flood
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:
REPEAT 3 [FD 40 RT 120]
PU RT30 FD 2 PD
BK 2 LT 30