MWS_2021/unity_artifitial_world-st/Assets/LSystem/Context2.txt

10 lines
174 B
Plaintext
Raw Permalink Normal View History

2021-03-27 20:54:15 +01:00
#ignore + -
#axiom
C(5,5)AA++AA-AAAAD(0)
#rules
C(a,b) > A : b<5 -> C(a,b+1)
C(a,b) > A : b>=5 ; a>0 -> C(a-1,0)
C(a,b) < A : b>=5 ; a>0 -> B
B<D(a) -> D(a+1)
B<A -> B
B -> A