Generates a cellular automaton evolution.
CellularAutomaton[rule, init, t]
CellularAutomaton[rule, init]
CellularAutomaton[rule, init, {tspec, xspec, …}]
CellularAutomaton[rule, init, {t, All, …}]
CellularAutomaton[rule]
CellularAutomaton[90, {{1}, 0}, 2]
→ {{0, 0, 1, 0, 0}, {0, 1, 0, 1, 0}, {1, 0, 0, 0, 1}}CellularAutomaton[30, {{1}, 0}, {{3}}]
→ {{1, 1, 0, 1, 1, 1, 1}}ArrayPlot /@ CellularAutomaton[{942, {2, {{0, 2, 0}, {2, 1, 2}, {0, 2, 0}}}, {1, 1}}, {{{1}}, 0}, {{10, 30, 10}}]
→ {-Graphics-, -Graphics-, -Graphics-}CellularAutomaton[90, {{1}, 0}, {3, {-2, 2}}]
→ {{0, 0, 1, 0, 0}, {0, 1, 0, 1, 0}, {1, 0, 0, 0, 1}, {0, 1, 0, 1, 0}}CellularAutomaton[30, {{1}, 0}]
→ {{1, 1, 1}, {0}}CellularAutomaton[30][{0, 0, 1, 0, 0}]
→ {0, 1, 1, 1, 0}CellularAutomaton[x, {{1}, 0}, 3]
→
CellularAutomaton::nspecnl: Rule specification x should be an Integer, a List, a pure Boolean function, a String or an Association.
CellularAutomaton[x, {{1}, 0}, 3]