ZMWSLI0-SL2021-GR11/cw2/Assets/LSystem/Slonecznik.txt

8 lines
234 B
Plaintext
Raw Normal View History

2021-04-15 00:07:29 +02:00
#axiom
C(0)
#rules
C(n) : n < 200 -> C(n+1)[+(137.5*n)f(0.02*n^0.5)B]
C(n) : n < 400 -> C(n+1)[+(137.5*n)f(0.02*n^0.5)Y]
C(n) : n < 600 -> C(n+1)[+(137.5*n)f(0.02*n^0.5)O]
C(n) : n >= 600 -> C(n+1)[+(137.5*n)f(0.02*n^0.5)P]
#rules end