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
- Letting "GPT 6 Astra" loose on an HF account to generate data goes wrong — realmrfakename · 2026-09-14
- VRChat real-time fluid rendering hits a wall: sparse grid isosurface too slow, only runs on a 5090 — Michael_Moroz_ · 2026-09-14
- Claude hilariously misreads a 'recreate' prompt, user shares the fail — felpix_ · 2026-09-14
- Dev chains a motion model with an image diffusion model to make glitchy datamosh animation — pixlpa · 2026-09-14
- He screenshotted a tweet and had Muse build a kids' bank with 3% weekly interest — armand_ruiz · 2026-09-14
- Anthropic Alignment Lead Amanda Askell Sparks Firestorm Over Remarks on Discrimination — SumitGup · 2026-09-14