AI simulation based on 'cellular automation' invented by Cambridge mathematician John Conway.
click on many random cells to populate it and press 'p' to toggle Play/Pause, see a random pattern emerge out of the following rules:-
For a space that is 'populated':
Each cell with one or no neighbors dies, as if by loneliness.
Each cell with four or more neighbors dies, as if by overpopulation.
Each cell with two or three neighbors survives.
For a space that is 'empty' or 'unpopulated':
Each cell with three neighbors becomes populated.
To tweak this sketch, first download it.
Make your updates, then upload your tweak!