WireWorld
Error: Browser does not support canvas element.
Description
CONTROLS:
Click to place cell, click again to switch it's state WIRE->HEAD->TAIL
Press 'SPACE' to pause and unpause the game.
Press 'E' to switch between ERASE and PLACE mode.
Scroll to zoom in.
Use the arrow keys to move while zoomed in.
Change the brushsize with 1-9. (not with numpad)
Press 'S' to go in SELECT mode, Click to make the selection, Press 'S' again to go out of SELECT mode.
Press 'C' to copy selected area.
Press 'V' to paste selected area, Click to place the copied area.
Press 'DEL' to delete selected area.
Press 'X' to delete and copy selected area.
Press 'W' to switch algoritmes. ( Wire World || Game of Life || Dust)
Press 'ESC' to Restart/clean.

THE RULES
Wire world:
1: Are a Wire and 1 or 2 neighbours is a Head-> You become a Head.
2: Are you a Head -> You become a Tail.
3: Are you a Tail -> You become a Wire.

Game of life:
1: Are you a empty cell and exactly 3 neigbours are alive -> You become alive. (reproduction)
2: Are you a living cell and less then 2 neighbours are alive -> You die. (under population)
3: Are you a living cell and more then 3 neighbours are alive -> you die. (overcrowding)
4: Are you a living cell and 2 or 3 neighbours are alive -> you stay alive.

Dust:
1: If the spot below you is free -> switch.
2: If the spot below you isnt free then check if the spot right below or left below you is free. If so check for the next rules:
3: Do you have less than 3 neighbours -> switch.
3: Do you have more than 4 neighbours -> switch.