lindenmayer/README.md

36 lines
462 B
Markdown
Raw Normal View History

2019-12-07 02:38:45 -05:00
# Lindenmayer Turtle Generator
draws a lindenmayer system using simple turtle graphics.
currently very basic, models the following system:
```
# genesis
X
# rules
F -> FF
2019-12-07 02:39:53 -05:00
X -> F-[[X]+X]+F[+FX]-X
2019-12-07 02:38:45 -05:00
```
2019-12-07 02:39:53 -05:00
is also slow and badly written, ¯\\_(ツ)_/¯
2019-12-07 02:38:45 -05:00
## 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