No description
Find a file
Mikael Nordin 7fe8fa7f61 new output
2016-10-27 21:26:27 +02:00
cellaut.pl Better output 2016-10-27 20:24:07 +02:00
README.md new output 2016-10-27 21:26:27 +02:00

cellular-automaton

This is an implementation of 256 elementary cellular automatons: http://mathworld.wolfram.com/ElementaryCellularAutomaton.html

Example usage and output for rule 30:

./cellaut.pl 10 30 30
              ■
             ■■■
            ■■  ■
           ■■ ■■■■
          ■■  ■   ■
         ■■ ■■■■ ■■■
        ■■  ■    ■  ■
       ■■ ■■■■  ■■■■■■
      ■■  ■   ■■■     ■
     ■■ ■■■■ ■■  ■   ■■■
    ■■  ■    ■ ■■■■ ■■  ■

Example usage and output for rule 110:

./cellaut.pl 10 30 110
              ■
             ■■
            ■■■
           ■■ ■
          ■■■■■
         ■■   ■
        ■■■  ■■
       ■■ ■ ■■■
      ■■■■■■■ ■
     ■■     ■■■
    ■■■    ■■ ■