36 lines
463 B
Markdown
36 lines
463 B
Markdown
# Lindenmayer Turtle Generator
|
|
|
|
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, `¯\_(ツ)_/¯`
|
|
|
|
## dependencies
|
|
|
|
```
|
|
raco pkg install htdp-lib
|
|
raco pkg install pict-lib
|
|
```
|
|
|
|
## running
|
|
|
|
> WARNING: will overwrite 'test-plant.png' in working directory
|
|
|
|
```
|
|
racket lindenmayer.rkt
|
|
```
|
|
|
|
## author
|
|
|
|
theArborist
|