https://github.com/ccntrq/cccell
ccCell - cell automaton playground
https://github.com/ccntrq/cccell
automaton cabal haskell
Last synced: about 1 year ago
JSON representation
ccCell - cell automaton playground
- Host: GitHub
- URL: https://github.com/ccntrq/cccell
- Owner: ccntrq
- License: bsd-3-clause
- Created: 2017-07-30T17:05:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-03T21:13:11.000Z (over 8 years ago)
- Last Synced: 2025-01-09T09:23:57.788Z (about 1 year ago)
- Topics: automaton, cabal, haskell
- Language: Haskell
- Size: 10.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ccCell - cell automaton playground
A few weeks ago I read an [article](http://blog.stephenwolfram.com/2017/06/oh-my-gosh-its-covered-in-rule-30s/)
in Stephen Wolframs blog about a train station being covered in a pattern
generated with an elementary cell automaton. This got me interested in the topic
and as I am currently learning Haskell it came to my mind that this would make
for a great learning playground.
# Samples
You can find some sample images of the automatons after N
generations in the images/N/ directories.
# Implementation
As mentioned I am using this project to pick up some Haskell and to play around
a little.
I am using cabal to build the project. It also handles the dependencies nicely.
## Usage
If you are using cabal you can use the following to generate images of all 255
rules for this simple automatons after 100 generations. They will be output to
images/100
```
cabal run -- 100
```