Wireworld

2D cellular automaton devised by Brian Silverman in 1987


title: "Wireworld" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["cellular-automaton-rules"] description: "2D cellular automaton devised by Brian Silverman in 1987" topic_path: "general/cellular-automaton-rules" source: "https://en.wikipedia.org/wiki/Wireworld" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary 2D cellular automaton devised by Brian Silverman in 1987 ::

::figure[src="https://upload.wikimedia.org/wikipedia/commons/1/15/Wireworld_two-diodes.gif" caption="2 Wireworld [[diode]]s, the above one in conduction direction, the lower one in reverse-biasing"] ::

Wireworld, alternatively WireWorld, is a cellular automaton first proposed by Brian Silverman in 1987, as part of his program Phantom Fish Tank. It subsequently became more widely known as a result of an article in the "Computer Recreations" column of Scientific American. Wireworld is particularly suited to simulating transistors, and is Turing-complete.

Rules

::figure[src="https://upload.wikimedia.org/wikipedia/commons/5/5d/Animated_display.gif" caption="Example of a complicated circuit made in WireWorld: a [[seven-segment display]] and decoder. Conductor cells are dark green to highlight signal flow and display segments."] ::

A Wireworld cell can be in one of four different states, usually numbered 0–3 in software, modeled by colors in the examples here: empty (black), electron head (blue), electron tail (red), conductor (yellow).

As in all cellular automata, time proceeds in discrete steps called generations (sometimes "gens" or "ticks"). Cells behave as follows:

  • empty → empty,
  • electron head → electron tail,
  • electron tail → conductor,
  • conductor → electron head if exactly one or two of the neighbouring cells are electron heads, otherwise remains conductor.

Wireworld uses what is called the Moore neighborhood, which means that in the rules above, neighbouring means one cell away (range value of one) in any direction, both orthogonal and diagonal.

These simple rules can be used to construct logic gates (see below).

::figure[src="https://upload.wikimedia.org/wikipedia/commons/1/13/Wireworld_XOR-gate.gif" caption="2 [[clock generator]]s sending electrons into an [[XOR gate"] ::

Applications

Entities built within Wireworld universes include Langton's ant (allowing any Langton's ant pattern to be built within Wireworld) and the Wireworld computer, a Turing-complete computer implemented as a cellular automaton.

References

References

  1. (January 1990). "Computer recreations: The cellular automata programs that create Wireworld, Rugworld and other diversions". [[Scientific American]].
  2. Nyles Heise. "Wireworld".
  3. Mark Owen. "The Wireworld Computer".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

cellular-automaton-rules