Johannes Kaindl Uplink Deutsch

Physarum

A progressive web app that simulates Physarum polycephalum, slime mold. Thousands of agents follow the chemical trails they leave behind, and out of that, organic path-networks form, shift, and re-form on their own. Watch it, tune it, record it.

Open interactive embed ↗

A live WebGPU demo runs above. No WebGPU? Here's a 24-second recording (the Apple TV ambient mode), which plays anywhere:

Launch the web app    Download for macOS

Why this one

Slime mold is the textbook case of stigmergy: coordination through the traces agents leave, with no central plan. Each agent senses only the pheromone right in front of it and steers — and out of that, a whole transport network forms, reshapes, and optimizes itself. No blueprint, no manager. That question — how order shows up when nobody's in charge — is one I keep circling back to, and here the aesthetic is the idea.

→ Read the mechanism: stigmergy.

Under the hood

Three species, each reading three pheromone channels through a three-sensor model, on a WebGPU compute pipeline. Each agent only senses, steers, and deposits — and a handful of dials shape everything that emerges: how an agent reads the field, how sharply it steers, how loud its trace is, and how the shared memory spreads and fades — plus the interaction matrix that turns the same three rules into coral, circuitry, or a slow aurora. On top sits an HDR post-stack — bloom, feedback, kaleidoscope, grading — and optional audio-reactivity that lets the music turn those dials live.

Presets

Presets

These run live in your browser — give each a moment to settle into its own kind of order.

You can drop any preset onto your own page the same way — an <iframe> pointing at …/player.html?preset=builtin:<name>.

Beyond the browser

The same engine also runs as native macOS / iPad / iPhone / Apple TV apps (Metal, sharing the WebGPU shaders one-to-one). The Apple TV one is a lean-back ambient mode: it cycles the curated presets on its own, and an iPhone or iPad nearby can take over as a full editor — even feeding the room's microphone in, so the wall reacts to whatever's playing. Presets live as a fixed set of "save-game" slots that sync across your devices over iCloud.

Online repository

git.jkaindl.de/jkaindl/physarum: code, releases, and the technical detail.


See also: zettelkasten