Neural simulation · Reward learning
Creature Lab
One fruit fly, three experiments: a 3D walking world, a neural maze steered by a trained readout of a simulated connectome, and a Pac-Man arena where a motor readout learns from rewards.
Personal · Solo · Built on open research code
My contribution
I built the hub, the three experiment viewers and the reward-trained Pac-Man readout with its evaluation, on top of open research code credited below.
- Neural maze: a descending-neuron readout of the simulated 139,255-neuron FlyWire network, trained on wall-following examples, reaches food in 10 of 10 grid mazes; controls with cut wiring or silenced outputs produce no movement.
- Viewers for 3D body-physics replays and terrain, neural telemetry, and an arcade ghost engine with four distinct ghost targets.
Try it
See what it can do
Personal project · September 2026
What this project does
Creature Lab puts three fruit-fly experiments in one hub. Measured FlyWire wiring stays fixed; only an artificial motor readout learns. The public site replays saved runs, and the local Python app adds live play and training.
Inside the project
- Walk: replay NeuroMechFly body physics on editable terrain (editing runs locally).
- Maze: compare intact wiring with cut edges, silenced output and untrained controls.
- Pac-Man: a 20,000-game training continuation; the checkpoint picked on a separate validation set (+5,000 games) won 97/200 fresh test games versus 60/200 before (30% → 48.5%).
Skills & practical experience
Connecting research simulations to a clear interface, and evaluating learning with held-out seeds, validation-picked checkpoints and controls.
- Three.js
- Python
- FlyWire
- Reward learning
- MuJoCo
- Data visualization
Numbers come from the saved runs and docs/METHODS.md in the public repository. These are simulations, not a living fly.
Project context
Built on open research: FlyBrain (connectivity pipeline, MIT), Shiu et al.’s LIF model, NeuroMechFly/FlyGym (body and gait) and FLYNN (A* baseline). FlyWire data: CC BY-NC 4.0.
Project media




