A Short introduction to using Logo. This is the first in a twelve part series.
Can you use LOGO to create this star pattern made from squares.
Only basic LOGO knowledge needed.
Using LOGO, can you construct elegant procedures that will draw
this family of 'floor coverings'?
First Forward Into Logo
In FF6 you considered and hopefully explored the following procedures:
TO CIRCLE :CH
REPEAT 360 [ FD :CH RT 1]
TO CIRC :CH :ANG
REPEAT 360 [ FD :CH RT :ANG]
As a consequence different sized circles and some polygons may have resulted. Did any of you manage to draw a heptagon ($7$- sided)? A nonagon ($9$-sided)? A endecagon($11$- sided)? $13$-gon? Etc. etc....
Imagine walking around the outside of a pentagon....as you: go forward then turn, go forward then turn, go forward then turn, go forward then turn, ... finally go forward then turn. You should be back where you started... go on try it, convince yourself. In your journey you should have turned through $360^\circ$ .
Five times you turned through $72^\circ$ . N.B. $5 \times72 = 360$.
See the pattern?
So why not experiment?
Go on try:
TO POLY :N
REPEAT :N [FD 45 RT 360/:N]
TO POLY :N :M
REPEAT :N [FD :M RT 360/:N]