Artificial Life - Term Project   ·   L-Systems   ·   marc mathis & ivo schindler

 backward main forward 



Hexagon

1. Try: without any recursion, difficult axiom or rules

Recursions: 1
Angle     : 72
Axiom     : A
Rule      : A=+F+F+F+F+F
this one is straightforward: 360 / 5 = 72

Note: we could even write it as the axiom: +F+F+F+F+F




2. Try: with recursion

Recursions: 5
Angle     : 72
Axiom     : A
Rule      : A=+FA
this one is almost the same as above. if you write it out after the 5th recursion it results in:
+A -> +FA -> +F+FA -> +F+F+FA -> +F+F+F+FA ->+F+F+F+F+FA

Note: the rule can also be written as: A=+AF or A=F+A , aswell substituting the + by a - .





3. Test yourself:


which one is the right production set?
a
Recursions : 6
Angle      : 60
Axiom      : A
Rules      : A=+F--F++F--FA
b
Recursions : 5 
Angle      : 60
Axiom      : A
Rules      : A=+F--AB
             B=F++AB
c
Recursions : 6 
Angle      : 30
Axiom      : A
Rules      : A=F+++F------F+++F++A





 backward main forward