forward 200 draws a line. back 200 retraces that line and brings you back to the starting point.
Repeat the line 10 times with right 36 in between.
This makes a star with the lines evenly spaced. The total amount of turning is 10*36=360 degrees,
the number of degrees in a circle.
You can make procedures that use other procedures. Once you give a name to a group of commands, like square, you can use that word in another procedure. In this sample, the square procedure is used in the procedure go. The procedure go runs square 10 times.
You can make dashed lines with pen up and pen down.
An arc is a part of a circle. There are two inputs to the arc block: radius and angle.
The radius is the size of the circle. The angle is how much of the circle to draw. An angle of 360 draws the whole circle.
/p>
Once you have an interesting element you can "spin" the element with a repeat and a right. In this case, the element is a double wave with each of the waves made with two arc blocks.
storeinbox1 lets you save a number. box1 recalls that number. You can use the boxes to make images that have repetiton with variation.
Boxes can be used to create a succession of lines of increasing length. Put an angle between these lines and you get a square spiral.
You can fill areas with startfill and endfill. The blocks between startfill and endfill define the area to be filled.
Some randomness and some arithmetic lets you position elements. The element here is a dot made by forward 0.