Logomation Lesson 7

Try the following code which has significant changes from the example above. The line width 8 will set the pen width to 8 pixels. The default is 1 pixel.

Putting the numbers after the fill command will make the fill that color rather than the pen color. When the path enclosing the fill does not return to the starting point the program assumes the last boundary is a straight line from the end point back to the starting point.

Width 8

Color 1, 0, 0

Fill 0, 1, 0

Repeat 3

Forward 80

Right 60


On your own #7:

Colored Triangle and Pentagon with Borders
draw a coloured triangle with a 3 pixel border of a different colour and then a pentagon with a 5 pixel border using 2 more colours-for a total of 4 different colours—with at least one created using a custom colour in the colour picker.


The Gate to Eight

Go back to the Lesson List page