LOGO challenge 8 - rhombi
Explore patterns based on a rhombus. How can you enlarge the pattern - or explode it?
Problem
Explore : TO RHOMB :X REPEAT 2 [ FD :X RT 45 FD :X RT 135] END | |
TO PAT :X REPEAT 8 [RHOMB :X LT 45] END | Image
|
How about exploring overlaying the patterns produced. | Image
|
Or 'exploding' the patterns | Image
|
Or both! | Image
|
The invitation for you is to explore further this infrequently met family of shapes. You might like to start by expanding on the procedures above. |
Teachers' Resources
Try entering:
RHOMB 20
RHOMB 30
Then:
PAT20
PAT 30
How do you "explode" the shape?
Not only do you need to turn a little after you have drawn the rhombus what else should you do?
LOGO programs such as MSWLogo allow you to "step through" your commands so you can see what each line of your program is doing - this can be very useful if things keep going wrong and you cannot see why.
Youcan change the pencolour by using the SETPENCOLOR command (SETPC)
Try:
SETPC 3