Cellular Automata

Input explanations:

  • Rule: Determines the next state of a cell based on the current state of the cell and its neighbors.
  • Generations: Determines how many generations to run the automaton.
  • Width: Determines the width of the grid.