![]() |
To produce this star, twenty line segments of equal
length are drawn in a continuous path, with equal
angles between consecutive line segments.
Imagine instructing a small creature to walk along the
path. You would give the instruction to walk forward a
certain distance then to turn through a certain angle
and to repeat the instruction over and over again.
To do this, you could use the Logo commands:
repeat 20 [forward 100 right $\theta$]
|