BRAINLESS

v1.0

BRAINLESS

It has no brain. It just redesigned Tokyo's rail network.

A slime mold lab game for the web. Keep a living Physarum polycephalum in a petri dish on a night-time lab bench and recreate the real experiments that made it famous. Every result is checked against the published paper.

Play Source on GitHub See my other projects

Free, in the browser. Needs WebGPU: desktop Chrome or Edge on a computer with a recent graphics card.

A new culture finds its oats and turns into a network of tubes. Real simulation, no animation.

Physarum polycephalum is a single cell with no brain and no nerves, yet it finds the shortest way through a maze and links food sources with networks as good as the ones engineers build. BRAINLESS puts that organism in your browser: one to four million agents simulated on the GPU, rendered like macro photography of wet gel.

Experiments: Tokyo

The Tokyo rail network, grown from oats

In 2010 Tero and colleagues laid 36 oat flakes out as the towns around Tokyo and let the mold connect them. Do it again here: it spreads from Tokyo, keeps off the light you paint as mountains, and its network is scored on cost, trip length and fault tolerance against the real rail.

Paper: Tero et al. 2010, Science. Rail and stations: OpenStreetMap contributors.

The Tokyo results plate: the player's network beside the paper's figure, with cost, efficiency and fault tolerance plotted against the paper's range

Nine experiments

Your run beside the paper

Nine levels, each a real published experiment: the maze, Tokyo, motorways across whole countries, memory without a brain, a balanced diet, learning to ignore a bitter bridge, anticipating a cold snap and haste against accuracy. Each ends on a journal plate that sets your result next to the paper's finding, with medals and a voice memo from the lab director.

Map Lab

Any region on Earth

Pick a window on the world. Its towns become oat flakes, its sea and high ground become light, and the mold grows a network that is scored against the real roads. Sixteen curated regions and a daily challenge; export a poster or a 3D-printable relief.

Data: GeoNames towns, Natural Earth land, lakes and roads, AWS Terrain Tiles elevation.

Sandbox

Every tool, and a toy box

Tweezers, pipette, projector light, salt and the rest, plus a toy box: laser pointer, copper coin, glass beads, sugar cube, ice and stencils. Food dye rides the flow inside the tubes, a stress test cuts the network live, and a microscope dives into one tube to watch the cytoplasm stream and reverse.

The Blob

A mold of your own

Name it and feed it. It lives on between visits, dries into a dormant sclerotium if you neglect it (it never dies) and wakes with a drop of water. When you come back it shows a time-lapse of what it did while you were away.

Watch the trailer

30 seconds, cut from real play, with the game's menu theme.

The science

Every behaviour in the dish comes from a published experiment, and the game checks itself on the network you can actually see. Twelve detectors (D1 to D12) read the live dish, on five random seeds each, and at least four of five must show the published result.

Papers the game follows

In-game summaries of each paper are written fresh in plain English with citations. Numbers that could not be verified are marked approximate.

How it was made

  1. Planning and the engine spike. The papers were read into science notes with the exact metrics and pass bands, and a test showed three.js can share one WebGPU device with custom compute: a million agents, glass, gel and depth of field in about 3 ms of GPU time.
  2. It's alive. A plasmodium on the GPU that forages, links food, prunes extra tubes, avoids light, dries into a sclerotium and revives. Early versions collapsed into one worm, then into dashed beads, until a soft one-agent-per-cell rule and starvation of thin tubes fixed both.
  3. The look. Eight style frames, an art bible, then one shader for gel and agar: lemon where thin, amber where thick, wet glints and the shuttle-streaming pulse. The front first read as gold foam; a vein-guide field from the colony's arrival times gave it radiating veins.
  4. The science checks out. The network is read off the live gel and scored with the Tero metrics. The maze always takes the shortest route, and Tokyo lands in the paper's bands for cost, efficiency and fault tolerance.
  5. The campaign opens. A lab-notebook menu over the live bench, the first four levels with results plates, Beat the Mold, and a voice designed for the lab director.
  6. Memory, appetite, learning. Five more experiments became behaviours the mold really has. A flaky diet test was traced to a hunger drive that reset on every nibble; once fixed, 32 of 32 test dishes balanced. The Sandbox gained the dye tracer and a live stress test.
  7. Map Lab. Any region on Earth as a dish. The first similarity test could not tell the mold from random networks, so it was rebuilt to ask which towns each network links directly, as the papers did.
  8. The Blob. A saved, living dish with offline catch-up and a "while you were away" time-lapse, plus the microscope. Two blind critics began judging the game from footage alone.
  9. Polish, judged blind. Six parallel tracks reworked the organism, the experiments, Map Lab, the shell, the toys and the sound. The Claude critic's score rose from 49.5 to 66 of 100. The Gemini critic kept hearing a harsh buzz; a listening check traced it to a static-like rain recording, a clanging building loop and an over-eager pencil sound, and all three went.
  10. Version 1.0. Released with 505 unit tests and every detector passing; 1.0.1 followed the same day with a calmer rain recording and an "Enter the lab" button so the music starts with the menu.

Designed and directed by Stewart Gregerson. Built with Claude Opus 5.5, with Fable 5.2 consults and Sonnet 5.5 helpers. TypeScript, WebGPU and WGSL compute, three.js and Preact. The clips on this page were filmed from the release build by a script driving the real interface.

Pull up a stool. It is waiting in the dish.

Play Source on GitHub See my other projects

Needs WebGPU: desktop Chrome or Edge.