https://github.com/tterrasson/crystal
Generate 3D cellular automata
https://github.com/tterrasson/crystal
3d automata blender cellular
Last synced: 10 months ago
JSON representation
Generate 3D cellular automata
- Host: GitHub
- URL: https://github.com/tterrasson/crystal
- Owner: tterrasson
- License: mit
- Created: 2020-02-09T06:48:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-26T03:51:01.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T03:53:31.047Z (about 2 years ago)
- Topics: 3d, automata, blender, cellular
- Language: Go
- Homepage:
- Size: 2.11 MB
- Stars: 58
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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](https://www.blender.org/) (Cycles)





More examples :
- https://www.instagram.com/_cellular_automata_/
- https://www.youtube.com/watch?v=W0iA-pO_XaU
- https://www.behance.net/gallery/90505477/Cellular-Automata-3D