TURTLE GRAPHICS 2.46



ASSIGNMENT:
Try the following line and see what you get:
  re 20 [[ pu fd 40 pd fd 15 pu bk 55 pd rt 18 ]]

This means:
 Repeat 20 {
   move forward 40 units without leaving a line
   move forward 15 units leaving a line
   go back to the origin (move back 55 units) without leaving a line
   rotate 18 degrees (angle of rotation)
 }
In the picture on this page there are 36 magenta lines and 36 yellow lines. The lines are 10 units long and they start 50 units from the origin (0,0). You should add to get the total number of little lines and divide 360 by this sum to figure out the angle of rotation to use for this picture.