Sticks: A Lesson in Turtle Geometry
I want to make designs like
colorsticks.jpg
or

blacksticks.jpg
Here's one way I did it. You can find other ways as well.

Step 1


The procedures so far are:
stickypro1.jpg
To actually reproduce the images above there are at least three things the turtle needs to learn to do.
1. Draw longer sticks.
2. Draw more sticks around the circle.
3. Draw sticks in different colors.
Let's look at the procedure, sticks. The inputs to forward and back influence the length of sticks. What about the other two numbers? Repeat uses 12 to control how many times the list of instructions is done. 30 is how much the turtle turns at each round. These two numbers are really related to one another. If the number of degrees changes then the number of times the instructions need repeating to make a full circle will also change.

Draw Longer Sticks


Draw More Sticks
sticky360.jpg
And 360 is the number of degrees in a circle.



Draw Sticks in Colors


A Version from an 8-year Old


runcardpic1.jpg
And the Procedures
The new procedures are runcard, master, circle and box.
The procedure, runcard, presents different elements before the final design.
runcardcode1a.jpg
runcardcode2.jpg