Conway

A tribute to John Conway, the inventor of the Game of Life. In this cellular automaton, cells can move to adjacent fields and are governed by a random matrix of attraction.

Each cell in the grid is either empty or has a color. A colored cell can move to an empty slot or stays where it is. Each color has a list of preferences for what it wants to be next to, so if there are 7 colors, this list has 8 elements, the first one indicating the preference for being next to an empty cell and the other 7 of how much it likes to be next to each of the colors:

When you load the page a random set of preferences is generated and the hash of the page is set to encode that preference. This makes it possible to keep track of interesting configurations.

A door is what a dog is perpetually on the wrong side of. -- Ogden Nash