Show HN: A desktop fly drawn to the scent of vibecode

The 30-Second Skim
- What happened: A macOS desktop app renders a 3D fruit fly whose walking, grooming, and escape behaviors emerge from a real 668-neuron circuit (~19,000 synapses) sourced from the published FlyWire Drosophila connectome, running as a 1 kHz leaky-integrate-and-fire simulation on a transparent overlay.
- Key facts & numbers: DesktopFly renders a procedural 3D fruit fly on a macOS overlay, with behavior driven by a 668-neuron, ~19,000-synapse circuit from the FlyWire v783 (FAFB) connectome simulated at 1 kHz using a leaky-integrate-and-fire model. The fork's new twist gives the fly a sense of 'smell' by scanning the disk for vibecode markers (AGENTS.md, CLAUDE.md, .cursor/rules, .kiro/steering, and ~40 more), with each open project emitting odor strength scaled by how many marked repos it contains. Escape behavior is not scripted: cursor approach feeds the real LC4 and LPLC2 looming-detector neurons, and the fly only flees when the Giant Fiber spikes through ~1,200 synapses of feedforward inhibition — yielding ~4 ms latency that matches the real animal.
- What happens next: Your cursor triggers a real fly's Giant Fiber via LC4 looming neurons at ~4 ms latency — on your menu bar. Now it also sniffs out your AI-coding repos. MIT licensed.
- DesktopFly renders a procedural 3D fruit fly on a macOS overlay, with behavior driven by a 668-neuron, ~19,000-synapse circuit from the FlyWire v783 (FAFB) connectome simulated at 1 kHz using a leaky-integrate-and-fire model.
- The fork's new twist gives the fly a sense of 'smell' by scanning the disk for vibecode markers (AGENTS.md, CLAUDE.md, .cursor/rules, .kiro/steering, and ~40 more), with each open project emitting odor strength scaled by how many marked repos it contains.
- Escape behavior is not scripted: cursor approach feeds the real LC4 and LPLC2 looming-detector neurons, and the fly only flees when the Giant Fiber spikes through ~1,200 synapses of feedforward inhibition — yielding ~4 ms latency that matches the real animal.
- The interactive brain window displays 23,210 of 139,255 FlyWire neuron soma positions colored by super-class, and clicking a region optogenetically stimulates the ~60 nearest circuit neurons for 400 ms, with the fly reacting to whatever the downstream real wiring produces.
Why It Matters
For hobbyist developers and neuroscience tinkerers, a permission-free macOS build packages a 668-neuron, ~19,000-synapse FlyWire circuit into a live 1 kHz simulation — demonstrating that the published adult Drosophila connectome can now run interactively on a consumer laptop with no specialized hardware or supercomputer access.
Sources Cited
- Hacker News — Show HN: A desktop fly drawn to the scent of vibecode
Related Coverage
Ask SkimNews