Modelowanie_Wirtualnych_Swi.../Assets/LSystem/cw2.txt
2021-04-16 23:44:21 +02:00

17 lines
460 B
Plaintext

#axiom
S(0)
#rules
#Zadanie 1 i 2
#Przy lekkiej zmianie kąta bardzo mocno zmienia się ułożenie nasion
#S(n) -> S(n+1)[+(n*137.4)f(0.01*n^0.75)B]
#S(n) -> S(n+1)[+(n*137.5)f(0.01*n^0.75)B]
#S(n) -> S(n+1)[+(n*137.6)f(0.01*n^0.75)B]
#Zadanie 3
S(n) : n<150 -> S(n+1)[+(n*137.5)f(0.01*n^0.65)B]
S(n) : n<400 -> S(n+1)[+(n*137.5)f(0.01*n^0.65)Y]
S(n) : n<625 -> S(n+1)[+(n*137.5)f(0.01*n^0.65)O]
S(n) : n<=650 -> S(n+1)[+(n*137.5)f(0.01*n^0.65)P]
#end rules