Click 'Run' to go.
The turtle can move without drawing a line. If you tell the turtle to lift its pen up, then it will move without drawing. You can command it to drop its pen down when you want it to start drawing again.
When you want to move the turtle over to a location in your diagram, but you do not want to draw a line as you move it, then lift the pen up, steer the turtle to its new spot, and once there drop the pen down and continue drawing.
This technique is exactly how you would make a pencil and paper diagram. Certainly you would often lift the pencil off the paper, and then place it back down at a different place. In this way you would draw the different parts of your diagram.
Here is a flowchart for this turtle demo:
In an imaginary computer language the code could look like this:
lt(45); fd(4); pu(); fd(4); pd(); fd(4);
Suggested next article:
These articles are related to this demo: