Wireworld

Simple logic circuit simulator Learn More


Generation {{cycle}}

Principle

Wireworld is a cellular automaton. Sparkles are propagated along wires at each cycle. Despite its apparent simplicity, it allows to simulate advanced computers and is Turing complete.

Use

Left click (or simple tap) → put or remove a wire

Right click (or long press) → put or remove a sparkle (Electron Head)

Play/Pause → run/pause auto generations (Step advances one generation)

Rules

A Wireworld cell can be in one of four different states: Empty , Electron head (), Electron tail , and Connector.

As in all cellular automata, time proceeds in discrete steps called generations. Cells behave as follows:

In the rules above, neighboring means one cell away in any direction, both orthogonal and diagonal.

Logic gates

From there, you can build logic gates, taking signals in input and performing a logic operation:

Learn more