This is a open framework implementation of a cellular automaton called wire world.
The rule is rather simple:
- Empty keeps empty.
- Tail becomes conductor
- Head becomes Tail
- 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