Boolean NetworkDYNAMICS LAB
Runs in your browserGitHub
OBSERVE & EXPLORE

Your network, unfolding.

SEED 42
NETWORK SIZE64 nodes
ACTIVE NODES—
AT SELECTED STEP96
ATTRACTOR—

Network dynamics

Each column is a node. Each row is a moment in time.

Off · 0On · 1
TIME / STEPS
t = 0

64 nodes · 97 states

96

The connections

Select a node to inspect its rule.

128 links
Selected nodeShowing all nodes

Inside a node

Change a rule. See what happens.

State 0

Comma-separated IDs. First input is the most significant bit.

View truth table
InputsNext state
A QUICK FIELD GUIDE

From bits to behavior.

A Boolean network is a set of nodes, each holding either 0 (off) or 1 (on). Every node reads its inputs and uses a truth table to decide its next state. All nodes update together.

Try an experiment

  1. Choose a node count, input count, and seed, then generate a network.
  2. Look for repeating bands in the dynamics chart. A repeated complete state marks an attractor: a fixed point or a cycle.
  3. Use the timeline to inspect a step. Select a node in the diagram or dropdown to see its state and rule.
  4. Edit its initial state, ordered inputs, or function number, then apply your changes.

Reading function numbers

For K inputs there are 2K truth-table rows. The function number encodes their outputs in binary, from input 00…0 to 11…1, most significant output bit first. For two inputs, function 6 is XOR (outputs 0, 1, 1, 0). This matches the original NKC library.

Reproducible by design

The same parameters and seed generate the same network in this version. Save a JSON experiment to preserve edits, or export the complete state history as CSV. Imported and saved files stay on your device. This version supports up to 256 nodes, 5 inputs per node, and 2,000 iterations.

A seed generates distinct inputs per node; self-connections are allowed. Each rule output and each initial state have a 50% chance of being on. A short simulation may not reach an attractor.