Dev wires a virtual fruit fly with 124 real neurons into a 3D tank game
BasedKetsu · reddit · 2026-09-13
A developer built an unhinged but seriously technical fork of his Three.js tank game: a virtual fruit fly in a tiny cockpit drives a tank — steering wheel, scoping in, pressing fire, switching ammo, repairing — while you watch its neural activity live.
The neural simulation uses 124 identified fruit-fly neurons and 1,106 measured anatomical connections from the Fruitless MaleCNS circuit, running a leaky integrate-and-fire model at 1ms steps with membrane voltage, spikes, inhibition, and refractory periods. A P1-related population's firing rate modulates motor gain, while a 24-channel recurrent network converts target bearings and obstacles into steering, throttle, and fire commands. A 15-second sugar stimulus shifts inputs and cuts engagement distance from 125m to 70m.
Built on top of his existing game with Claude and Codex by watching battles and requesting specific changes, verified with screenshots and automated checks; at runtime everything runs locally with no LLM calls. Demo: fly.kevinliu.studio, code on GitHub (CoTFly).
More from Fun
- LLM Acknowledgments in Bio Preprints Hit 17% in Three Years, Near Specialized AI Tools — teortaxesTex · 2026-10-31
- Neuralink user explains why your inner monologue stays private — XFreeze · 2026-10-31
- Meme: which startup is building agentic tools to make AI shut up — eigenron · 2026-10-31
- DeepSeek's silent downtime upgrade caught by the pelican bicycle test — teortaxesTex · 2026-10-31
- AI-generated fake trailer imagines a 1999 Dino Crisis movie with retro VHS feel — noizlab_studio · 2026-10-31
- Crypto professor Matthew Green fires back at researcher's 'AI psychosis' accusation — matthew_d_green · 2026-10-31