An open API service indexing awesome lists of open source software.

https://github.com/pacman82/cellular-automaton


https://github.com/pacman82/cellular-automaton

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Cellular Automaton
==================

A command line tool which evolves the state of simple 1-dimensional cellular automatons and prints
them to standard out.

Produces pretty output like this (for the famous rule 30):

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░██░░█░░░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░████░██░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░██░█░░░░█░████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░██░░██░█░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░██░░███░███░░██░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░███░░░█░░███░░█░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░██░█░░█░█████░░███████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░████░█░░░░███░░░░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░██░░███░░░░██░░██░░█░░░░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░███░░█░░██░███░████░░██░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░██░█░░██████░░█░░░█░░░███░████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░████░░░░░████░███░██░░░█░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░██░░███░░░█░░░██░░░░█░░░█░█░███░███░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░███░░█░███░██░█░░███░██░█░█░░░█░░█░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░██░████░░██░█░░███░█░░░█░░████░░░█░░█░██░██████░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░████░░░██░█████░░░█░█████░█░░█░░░░░█░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░██░████░██░░███░░░█░██░░█░░░░█░██░█░░░░░█████░░░███░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░███░░█░██░█░████░░██░█░░██░░░██░░░░█░██░░█░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░██░████░░██░█░░███░█░░█░█░░░███░░████░█░██░█░░██░█░████░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░██░░█░░░███░░████░░░████░██░██░░███░░░░█░█░░████░░█░█░░░█░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░██░████░██░░███░░░█░██░░░░█░░█░███░░█░░██░████░░░███░██░███░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░██░░█░░░░█░███░░█░██░█░█░░█████░█░░██████░░█░░░█░██░░░█░░█░░█░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░██░████░░██░█░░███░█░░█░████░░░░░████░░░░░████░██░█░█░█████████░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░██░░█░░░███░░████░░░████░█░░░█░░░██░░░█░░░██░░░░█░░█░█░█░░░░░░░░█░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░██░████░██░░███░░░█░██░░░░██░███░██░█░███░██░█░░█████░█░██░░░░░░███░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░██░░█░░░░█░███░░█░██░█░█░░██░░█░░░█░░█░█░░░█░░████░░░░░█░█░█░░░░██░░█░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░██░████░░██░█░░███░█░░█░████░████░█████░██░█████░░░█░░░██░█░██░░██░████░░░░░░░░░░░░░░
░░░░░░░░░░░░░░██░░█░░░███░░████░░░████░█░░░░█░░░░█░░░░░█░░█░░░░█░███░██░░█░█░███░░█░░░█░░░░░░░░░░░░░
░░░░░░░░░░░░░██░████░██░░███░░░█░██░░░░██░░███░░███░░░██████░░██░█░░░█░███░█░█░░████░███░░░░░░░░░░░░
░░░░░░░░░░░░██░░█░░░░█░███░░█░██░█░█░░██░███░░███░░█░██░░░░░███░░██░██░█░░░█░████░░░░█░░█░░░░░░░░░░░
░░░░░░░░░░░██░████░░██░█░░███░█░░█░████░░█░░███░░███░█░█░░░██░░███░░█░░██░██░█░░░█░░██████░░░░░░░░░░
░░░░░░░░░░██░░█░░░███░░████░░░████░█░░░██████░░███░░░█░██░██░███░░██████░░█░░██░█████░░░░░█░░░░░░░░░

Usage
-----

```bash
rule 30
```

use `--help` flag to learn about more options.