Thorn Avery 3529cf95ee | 4 years ago | |
---|---|---|
README.md | 4 years ago | |
lindenmayer.rkt | 4 years ago | |
test-plant.png | 4 years ago |
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