← terminal
watching.

be the fly

Your camera, seen the way a fruit fly's compound eye would see it. Bring something toward it fast, and a real fly brain, 165,122 neurons copied from one male fruit fly, decides what to do.

Your video stays on your phone. Only one thing leaves it: "something loomed", sent to the brain. Recording saves on your phone and is shared only if you share it.

what you're seeing

The eye is an illustration. The brain model has no eye of its own, so this picture is drawn from what is known about the fruit fly's: each eye has about 700–750 facets (ommatidia), so the world arrives as a few hundred dots per eye; there is no red receptor (the longest-wavelength one is green), so reds go dark; it also sees ultraviolet, which a phone camera can't record. Flies resolve fast flicker far better than we do (around 250 flashes a second against our ~60), so movement is what lights up here.

The decision is real. When something grows fast in front of your camera, one message goes to the live fly on drosophila.io: a looming shadow. It enters its brain where a real fly's does, at its loom-detecting neurons (LC4 and LPLC2), which are wired straight onto the giant fibre, the escape neuron. Its brain, the MaleCNS connectome (Janelia / Google), 165,122 neurons, runs it and decides. Nobody tells it to flee: if the giant fibre fires, it chose to, and your picture jumps.

The numbers. "Fired in 3.6 ms" is the brain's own time, from the moment the shadow reached its loom detectors to the escape neuron's first spike. The second or two you wait is the internet and our server, not the fly. For scale: a human blink takes about 100 ms, and a real fly readies its jump about 200 ms before a swatter would land. The dots in the card are that run's own spikes, half a second of them, one row per neuron.

At night it keeps the hours of Janelia, the lab its brain came from; a shadow wakes it.

Sources: Wikipedia "Ommatidium" (700–750 ommatidia in Drosophila); Drosophila rhodopsins Rh3/Rh4 (UV), Rh5 (blue), Rh6 (green), no red-sensitive receptor (PMC7588446); flicker fusion in flies (BBC, "Why is it so hard to swat a fly?"); LC4 and LPLC2 synapse directly onto the giant fibre (Ache, von Reyn et al., Current Biology 2019, Janelia); flies plan their escape ~200 ms before impact (Card & Dickinson, Current Biology 2008); blink duration ~100 ms (Clinical Ophthalmology 2013, PMC3577009).