Skip to content

zweifuchs/blackcab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Black CAB

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

Table of Contents

Getting Started

Compile and run.

Prerequisites

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.

Examples

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

Notes

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.

Built With

  • GO - Golang

Notes

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.

Built With

  • GO - Go lang - what a nice language

Contributing

Feel free to fork and spread the love. Also, PRs are welcome too.

Contact

contact me at : alfred . eichenseher |AT| googlemail . com https://www.alfred-eichenseher.de

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • A big hello to all the happy coders out there

About

Visualizing Cellular Automata with golang / go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published