Logomation Lesson 4

To start at a position other than the center of window try starting the program with code such as:

Up

Goto –200, 100

Down

Forward 50

This will move pen invisibly from the center 200 pixels left and 100 up the screen, just like on a Cartesian Plane.

If the program does not work as expected you will need to debug the program. It can help to see the images drawn slowly.

Save your work then use:

Run >> Pen tracer

But save your work before using the pen tracer—the program is more likely to crash.


On your own #4:

Four Pentagons in a row:
draw 4 separated pentagons using nested loops—include comments

Hint: to draw a pentagon (5 sides) you must turn though 1/5 of a full rotation (360 ° ) at each corner.


Linky for Lesson 5

Go back to the Lesson List page