MWS_2021/unity_artifitial_world-st/Assets/LSystem/Context_3.txt.txt
2021-04-11 20:45:16 +02:00

10 lines
169 B
Plaintext

#ignore + -
#axiom
C(5,5)A+A+AA-A-AA-AD(0)
#rules
#C(a,b) > A : b<5 -> C(a,b+1)
#C(a,b) > A : b>=5 -> C(a-1,0)
#B(1)<D(a) -> D(a+1)
#B(a)<A -> B(a)
#B(a) -> A
#end rules