Skip to content

FoxMalder/crystal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

About

Generate 3D cellular automata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.3%
  • Python 7.7%