Neuron Synapse Network (2D): Cascading Action Potentials
2D companion to the 3D neuron cluster: neurons wired into a k-nearest-neighbor dendrite graph fire, send a pulse racing along each connection, and cascade into their neighbors.
This 2D companion mirrors the same k-nearest-neighbor dendrite graph as the 3D scene: each neuron is wired to its nearest connections, firing spawns a pulse that races along a subset of them, and each arrival can trigger the next neuron in turn — a cascade capped at four hops. Sliders control neuron count, connections per neuron and pulse speed, a checkbox switches spontaneous background firing on or off, and a live readout panel tracks elapsed time, total fires, active pulses and the current firing rate.
2D neuron network: a k-nearest-neighbor graph of neurons where firing sends a pulse racing along each dendrite connection and can cascade into its neighbors.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install
Arrival triggers the next neuron with 85% probability, and only if that neuron isn't still in its refractory (cooldown) period — so a cascade can naturally fizzle out just like real neural activity does.
It sets k in the k-nearest-neighbor graph: each neuron connects to its k closest neighbors within range, rebuilding the whole dendrite network live.
Neurons stay quiet until you press "Trigger random pulse" — useful for watching one cascade unfold in isolation instead of a busy, constantly-firing network.