In 2024, a team of researchers mapped every single neuron in a fruit fly's brain -- all 139,255 of them, and the millions of connections between them. It was the first complete wiring diagram of an adult brain of any animal this complex. The work was led by Princeton and published in Nature (Dorkenwald et al. 2024).
This is that brain, running live in your browser.
The fly you see is not following a script. Its behavior -- walking, eating, grooming, startling, flying -- emerges from real neural signals propagating through those mapped connections. Feed it, touch it, scare it, and watch 139,000 neurons respond.
A fruit fly brain fits on a pinhead but contains circuits for memory, navigation, fear, hunger, and decision-making. If we can simulate this brain in a web browser today, imagine what becomes possible as we map larger brains. The human brain has 86 billion neurons. We are probably going to see it mapped in our lifetime.
Built on worm-sim by Seth Miller, which simulated the 302-neuron C. elegans worm brain. Connectome data from the FlyWire Consortium.
How to play
Feed -- Click on the canvas to place food. The fly will seek and eat it when hungry.
Touch -- Click on the fly to touch it. Location matters: head, thorax, abdomen, or leg each triggers different grooming. Tap 3+ times in 4 seconds for a pain response.
Air -- Click and drag near the fly to blow wind. Drag distance controls wind strength.
Light -- Cycles through Bright, Dim, and Dark. The fly exhibits phototaxis toward light.
Temp -- Cycles through Neutral, Warm, and Cool. Warm makes the fly more active and avoidant. Cool makes it exploratory.
Danger -- Click near the fly to emit a danger odor. The fly detects noxious chemicals via olfactory neurons and triggers an avoidance/flight response.
Water -- Click on the canvas to place a water droplet. The fly drinks when thirsty, reducing its thirst drive.
Mate -- Click on the canvas to place a mate fly. If the fly is calm (low fear, low fatigue, moderate curiosity), it will approach and perform courtship wing vibration for 5-10 seconds.