A 3D fruit fly on macOS desktop powered by the real FlyWire connectome
Article URL: https://github.com/DenisSergeevitch/desktop-fly Comments URL: https://news.ycombinator.com/item?id=49353221 Points: 315 # Comments: 130
A virtual fruit fly named 'MiniBuzz' flits across a macOS desktop screen, its movements and actions governed by a real-life spiking simulation of the FlyWire connectome. The tiny insect navigates the windows, groom itself, sleeps, and reacts to your cursor, all driven by the same neurons a real fly uses.
The fruit fly's brain window displays 23,210 neuron soma positions, with live spikes flashing at their corresponding locations. Two glowing yellow markers represent the Giant Fibers, which serve as the 'escape command' neurons for the fly. Users can click any region of the brain to stimulate it.
The body of MiniBuzz is procedural, created from the FlyWire brain connectome - no physical body geometry is required. The fly exhibits a tripod gait, visible wing-beats, altitude-scaled flight patterns, grooming and sleep postures. All sensory inputs, such as the cursor, window frames, clicks-as-taps, and thermal state, are gathered permission-free.
A 🪰 icon appears in the menu bar, which can be clicked to quit the application. The fly moves on a transparent, click-through overlay, never intercepting your mouse or keyboard input. The brain window can be interacted with - hovering pauses the fly's rotation, and clicking a region optogenetically stimulates the ~60 nearest circuit neurons for 400 milliseconds.
The fly's reaction to these stimuli mirrors that of a real fly. For instance, clicking the Giant Fiber makes it flee, clicking DNg11 makes it groom, and clicking one side's DNa01/02 causes it to turn. The fly's gait rhythm also feeds the circuit's real ascending (proprioceptive) neurons, in sync with the fly's leg movements. Additionally, fast cursor motion stimulates the fly's sensory (wind) partners.
All data required to recreate MiniBuzz is included in the 'data' folder. The files are derived from the FlyWire Codex dumps (~60 MB download) and are released under a CC BY-NC 4.0 license. The code itself is released under the MIT license. If you utilize this work, please cite: "A 3D fruit fly living on your macOS desktop, driven by a live spiking simulation of the real FlyWire connectome."
Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.