足し算をするセルオートマン - celllular automaton do addition
LIVE CODING 2010/06/25 19:17-1:22
変形ライフゲームみたいなものですが、
OR回路,AND回路が作れたので、
マスの点灯、消灯を数字に対応させて、
二進数の足し算をやらせてみました。
※答えを出すまでのタイムラグがあります。
すべてのセルが変化がなくなったら答えです。
セルの光り方のルール
the rule of this celllular automaton.
1. セルは合計 1 の電流が流れているとき、黄色く光る。
流れる電流の合計が 2 以上になると、暗く赤に光る。
The cell is yellow, if it is applied one electrical current,
and is dark red, if it is applied two or more electrical currents.
2. 黄色く光ったセルは、そのセルとつながったセルに電流を伝える。
The yellow cell apply the current to cells connected.
3. セルのつながり方には弱いつながり(>)と強いつながり(>>)の二種類があり、
弱くつなっがったセルには 1 の電流を伝える。
強くつながったセルには 2 の電流を伝える。
また、つながりは一方通行である。
There are two types of the connections, weak connection(>) and strong connection(>>).
To the cell weak connected, it apply one current.
To the cell strong connected, it apply two currents.
セルのつながり方
the connection of cells
0 , 1 , 2 , 3 , 4 , 5 ;
6 , 7 , 8 , 9 , 10 , 11 ;
12 , 13 , 14 , 15 , 16 , 17 ;
18 , 19 , 20 , 21 , 22 , 23 ;
24 , 25 , 26 , 27 , 28 , 29 ;
30 , 31 , 32 , 33 , 34 , 35 ;
0: >4
- forked:1
- favorite:4
- lines:324
- license : MIT License
- modified : 2010-06-26 15:47:29


