tart Personal projects

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.
Download CV (English)

Try it

See what it can do

Creature Lab home page with green styling and three experiment cards
Creature Lab home page: a shared hub for body physics, neural navigation, and reward learning.

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

3D terrain playground with recorded body physics and neural telemetry
01 · The walking world — orbit, pan, edit terrain and replay calculated NeuroMechFly movement.
Neural maze with ten courses and causal controls
02 · A way through — recorded FlyWire neural decisions and controls that silence or disconnect the signal.
Fly Pac-Man arena with four ghosts, rewards and evaluation results
03 · Fly Pac-Man — a fruit-fly player, distinct ghost targets and a trained motor readout.
Creature Lab home page in dark green mode
A consistent green palette in both light and dark mode.
19-second visual tour: interface screenshots combined with an actual recorded 3D physics replay. Neural-maze and arcade sections are still-image previews.