Neural Brain
A web of neurons that blink and fire as you hover.
Features
- •Real depth — Neurons sit in 3D inside the brain's shape; connections and dots fade toward the back, and a gentle sway shows it from slightly different angles.
- •Blinks and signals — Neurons blink and fire on their own. Raise Spread and each firing sends signals along its connections, setting off the next neurons in chains.
- •Hover to think — Moving over the brain fires the neurons under the pointer, and a click sets off a burst.
- •Recognisably a brain — A traced outline, denser clusters, a striped cerebellum and the brainstem, generated from a seed, so the same seed always gives the same brain.
- •Tunable — Up to 1,400 neurons, firing rate, spread, signal speed, line strength, and separate colours for neurons and signals; transparent background supported.
- •One file, no dependencies — Drawn on a high-DPI canvas with additive glows. Pauses offscreen and holds still with reduced motion.
Props API Reference
13 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| nodes | number | 1400 | Neurons in the network (300–1400). |
| activity | number | 3 | Neurons that fire on their own each second. |
| spread | number | 0 | Chance each connection passes a signal on (0–1); 0 keeps firings to single neurons. |
| speed | number | 1 | Speed of signals along connections. |
| blink | boolean | true | Neurons blink softly at random. |
| sway | boolean | true | Turn gently from side to side. |
| interactive | boolean | true | Hover fires neurons; click fires a burst. |
| color / pulseColor | string | "#FFFFFF" | Neurons and connections, and firing and signals. |
| lineOpacity | number | 0.1 | Opacity of resting connections. |
| background | string | "#000000" | Any CSS background, or transparent. |
| seed | number | 7 | Same seed, same brain. |
| label | string | "A brain made of connected neurons…" | Accessible description. |
| className / style | string / CSSProperties | undefined | On the wrapper; it fills its parent. |