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

 backward main forward 



Star

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.

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





2. Try: with recursion

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

Note: the last turning does not affect the star at all. there is no further step. and even if there was, it would not affect. It would paint the same star again. the same happens if we do not stop after 5 recursions.
the rule can also be written as: A=A--F or A=--FA , aswell substituting the + by a - .





3. Test yourself:


which one is the right production set?
Recursions : 5
Angle      : 72
Axiom      : A
Rules      : A=+FF--FA
Recursions : 10
Angle      : 72
Axiom      : A
Rules      : A=FB
             B=++FA
Recursions : 5
Angle      : 72
Axiom      : A
Rules      : A=+F--FA





 backward main forward