Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.27 KB

Generate 3D cellular automata

Building

$ git clone https://github.com/tterrasson/crystal
$ cd crystal
$ export GO111MODULE="on"
$ go build -o bin/grow ./cmd/grow
$ go build -o bin/search ./cmd/search

Looking for new rules

Generate 16 random 5 states cellular automata after 64 iterations.

$ bin/search -output explore -state 5 -fillseed 0.4 -iteration 64 -nb 16 -worldsize 300

Growing an interesting rule

Output each iterations (for animation)

$ bin/grow -output explore -input output-XXXXXXX.obj -iteration 128 -worldsize 300

Output only last iteration

$ bin/grow -output explore -input output-XXXXXXX.obj -lastonly -iteration 128 -worldsize 300

Demos - Rendered with Blender (Cycles)

demo

demo

demo

demo

demo

More examples :