Wire world

This is a open framework implementation of a cellular automaton called wire world.

The rule is rather simple:

  1. Empty keeps empty.
  2. Tail becomes conductor
  3. Head becomes Tail
  4. Conductor becomes head if there are 1 or 2 heads around

The code are the image files located in bin/data. I use the following colors to flag the state of each cell :

I’m printing the conductor as dark grey to look better but to design I use yellow.

All the complexity is achieved by designing patterns of conductors and Tail/Head (electron) arrangement.

Video of wire world automaton outputing rule 110