This is a display based on Conway's game of life / cellular automata.
It has very simple
rules. Start with a board. Then check each area. If the area has no
current cell and there are three or more adjacent cells, a new cell is
created. If the area has a cell and less than two or more than three
adjacent living cells, it dies (starvation / overpopulation).
This page starts with a smilie face and starts the process. You can see
where new cells are created, when they die, etc. Every few seconds a blob
of some sort is splattered onto the game board. This should shake things up
by knocking around living stable structures and creating more nodes for
living clusters.
It also demonstrates how to use JavaScript to swap out images and create
animation of some sort.
<-- Empty
|
<-- New Cell
|
<-- Living Cell
|
<-- Dying Cell
|