显示二维元胞自动机的规则
总和二维、5 个邻居,代码 20.
In[1]:=
RulePlot[CellularAutomaton[{20, {2, {{0, 1, 0}, {1, 1, 1}, {0, 1,
0}}}, {1, 1}}]]
Out[1]=
总和二维、9 个邻居,代码 111.
In[2]:=
RulePlot[CellularAutomaton[{111, {2, {{1, 1, 1}, {1, 1, 1}, {1, 1,
1}}}, {1, 1}}]]
Out[2]=
六边形总和二维元胞自动机.
In[3]:=
RulePlot[CellularAutomaton[{56, {2, {{1, 1, 0}, {1, 1, 1}, {0, 1,
1}}}, {1, 1}}], Appearance -> "Hexagons"]
Out[3]=
普通二维元胞自动机.
In[4]:=
RulePlot[CellularAutomaton[{23571113171923, 2, {1, 1}}]]
Out[4]=