Skip to main content Skip to navigation

TwoBlocks

Diamonds Pattern. The turtle moves from left to right drawing diamonds. There are two functions, one draws a 'spike' perpendicular to the general direction of the turtle. The second function controls the height of each 'spike' gradually increasing it and then decreasing it - to create the diamond.

Click on image thumbnails to see the full size.

Stitched version of the Two Blocks pattern

animation showing how the pattern is created
Virtual image of the stitched pattern variant 1 of the pattern