Day 91 of 101 DoCC

Day 91 of 101 DoCC – this is my second try at cellular automata. I hope to do a piece for Chalkdust celebrating their 13th Issue with an Art Project (join in!). Spacebar will change the rules(see below) for the game and click to reset the randomize dead/alive. The larger the screen, the larger the grid. Fullscreen mode is here.

See the Pen lifeMeditation by Sophia (@fractalkitty) on CodePen.

Rules:

  • Set 1:
    • If a cell is alive and has 0, 1, 5, or 6 alive neighbors, it dies.
    • If a cell is dead and has 4 neighbors alive, it comes back to life.
  • Set 2:
    • If a cell is alive and has 0, 1, 2, 5, or 6 alive neighbors, it dies.
    • If a cell is dead and has 3, 4, or 5 neighbors alive, it comes back to life.
  • Set 3:
    • If a cell is alive and has 5 or 6 alive neighbors, it dies.
    • If a cell is dead and has 3 neighbors alive, it comes back to life.
  • Set 4:
    • If a cell is alive and has 1, 2 or 3 alive neighbors, it dies.
    • If a cell is dead and has 3 or 4 neighbors alive, it comes back to life.
  • Set 5:
    • If a cell is alive and has 3, 4, 5, or 6 alive neighbors, it dies.
    • If a cell is dead and has 0, 1, or 2 neighbors alive, it comes back to life.
  • Set 6:
    • If a cell is alive and has 2, 3, 4, 5, or 6 alive neighbors, it dies.
    • If a cell is dead and has 0, 1, or 2 neighbors alive, it comes back to life.
  • Set 7:
    • If a cell is alive and has 4, 5, or 6 alive neighbors, it dies.
    • If a cell is dead and has 3 or 4 neighbors alive, it comes back to life.