Explore the very basic Cellular Automata.
This programm calculates images from basic Cellular Automata. It can calculate the first 255 basic forms of CA described by Stephen Wolfram. https://en.wikipedia.org/wiki/Elementary_cellular_automaton
Compile and run.
You need to have GO installed on your machine. Right now no pre-builds are provided. However, this programm only uses stdlib. Just compile the code and you are ready to go.
A generate.sh file is added as an example to mass generate images.
Basic options:
blackcab -pop 500 -generations 500 -rule 30
creates a 500x500 Image with Rule 30
blackcab -pop 500 -generations 500 -rule 73 -genesis 001000100
for a different starting block
blackcab -rnd -file xyz.png
for randomized start and a different filename to save the result
blackcab -help
show help / options
This code is a work in progress. The code is pretty verbose but this should make it very easy for other people to add and or modify the code to their liking. Visualizing CAs is like a exploring a strange and foreign world, modifying code is essential for revealing structure. After all, have fun and happy exploring.
- GO - Golang
This code is a work in progress. The code is pretty verbose but this should make it very easy for other people to add and or modify the code to their liking. Visualizing CAs is like a exploring a strange and foreign world, modifying code is essential for revealing structure. After all, have fun and happy exploring.
- GO - Go lang - what a nice language
Feel free to fork and spread the love. Also, PRs are welcome too.
- Alfred Eichenseher - Initial work - Me on Github
contact me at : alfred . eichenseher |AT| googlemail . com https://www.alfred-eichenseher.de
This project is licensed under the MIT License - see the LICENSE.md file for details
- A big hello to all the happy coders out there