20 lines
505 B
Markdown
20 lines
505 B
Markdown
# barnsley-fern-go
|
|
Implementation of Barnsley Fern in Go
|
|
|
|

|
|
|
|
From the root of the repository
|
|
```bash
|
|
go build
|
|
./barnsley-fern-go
|
|
```
|
|
or simply
|
|
```
|
|
go run barnsley-fern.go
|
|
```
|
|
This will generate an image in current directory.
|
|
|
|
See **./barnsley-fern --help** for available flags.
|
|
|
|
Image on this page was generated with **./barnsley-fern-go -x 500 -y 500 -c 3 -out example/barnsley-fern.png**
|