Thorn Avery 3529cf95ee | před 4 roky | |
---|---|---|
README.md | před 4 roky | |
lindenmayer.rkt | před 4 roky | |
test-plant.png | před 4 roky |
draws a lindenmayer system using simple turtle graphics.
currently very basic, models the following system:
# genesis
X
# rules
F -> FF
X -> F-[[X]+X]+F[+FX]-X
is also slow and badly written, ¯\_(ツ)_/¯
raco pkg install htdp-lib
raco pkg install pict-lib
WARNING: will overwrite ‘test-plant.png’ in working directory
racket lindenmayer.rkt
theArborist