Artificial Life Lab
Life as it could be, running in your browser.
Lenia's continuous cellular automaton, Particle Life and Darwinian evolution, simulated for real in your browser. Watch Orbium glide through a world computed by Fourier transform and change the rule that keeps it alive; draw a matrix of attractions and see cells, membranes and chasers assemble from thousands of particles; evolve creatures of nodes and muscles that learn to walk because the ones that walked a little further had more children. Around them stand the classics of the field: the Game of Life and the rules that copy themselves, flocks, ant trails, Langton's ant, drift and selection, fish and sharks, and Daisyworld.
- Web
- Free
- Private
- 7 areas, from the definition of life to the map
- 22 live experiments, every one simulated for real
- 41 challenges that light up as you go
- 0 bytes sent to a server
Seven steps from the definition of life to a planet that regulates itself, with a real simulation under every one.
Every world on the page is computed on your machine, step by step, with the rules of the original papers: Lenia by Fourier transform as in its reference notebook, the Game of Life cell by cell, Particle Life with its force law, the creatures with springs for muscles and a genetic algorithm over their genomes, the Wright-Fisher model by sampling, Wa-Tor and Daisyworld by their own rules. A tag on every screen says whether it is the exact rule, a model or an illustration. Nothing is a recording.
Life as it could be
Nine hard cases, from a virus and a mule to a flame, a crystal, an Orbium and a computer virus, against the textbook's seven properties, as a board you fill in and compare with the book and with three other definitions. Then Conway's Game of Life on a torus with the classic patterns and any B/S rule, and the rules under which whatever you draw copies itself eight times.
Lenia
Orbium, the first creature of the continuous cellular automaton, gliding through a world computed by Fourier transform; the kernel and the growth curve as sliders, with a map of where the creature survives computed live; the road from the Game of Life to Lenia in four steps on one engine; and a search that finds new creatures in random soups, which you can keep.
Particle Life
Thousands of particles of up to eight colours with a matrix of attractions you draw cell by cell, and presets that chase, make membranes and cells; the force law with two particles, to see why an asymmetric matrix makes one colour hunt another; the clusters counted as they form; and a search over random matrices ranked by how much structure they make.
Flocks and ants
Boids with separation, alignment and cohesion as sliders, a predator and obstacles, and the flock's order measured; an ant colony that lays and follows scent until its trails find the food, with the double bridge that picks the shorter path; and Langton's ant and its cousins, with the highway that appears after ten thousand steps of chaos.
Evolution
Dawkins's weasel, a sentence found by cumulative selection against the odds of chance; the Wright-Fisher model of drift and selection, with the probability of fixation checked against Kimura's formula; and creatures of nodes and muscles evolved to walk by a genetic algorithm you run generation by generation, with the race, the best walker and its genome.
Ecosystems
Wa-Tor, fish and sharks on a torus cycling through boom and bust, with the Lotka-Volterra equations beside and breeding times that are inherited and evolve inside the ecosystem; and Daisyworld, black and white daisies regulating a planet's temperature as its star brightens, swept up and down to show the hysteresis.
The map
The myths about artificial life set straight, a timeline from von Neumann's constructor to Lenia and beyond, your challenges in one board, and where to go on from this page.
Nothing leaves your browser.
Every world runs on your machine. Your challenges and the creatures you keep stay in this browser only, and you can clear them.
- Every simulation runs in the browser
- Your progress and your kept creatures stay in this browser, and you can clear them
- No account, no camera, no microphone
Requirements
- Runs in
- Any modern browser, on a computer or a phone
- Areas
- Life as it could be, Lenia, Particle Life, Flocks and ants, Evolution, Ecosystems, The map
- Code
- Python with NumPy, shown beside the experiments
- Controls
- Mouse or touch: draw on the grids, place creatures, drag the matrix, sliders for the rest
- Account
- Not needed
- Price
- Free
Questions
Do I need to know biology or mathematics?
No. Each experiment starts with something to draw, drag or watch, and the ideas come after. The code is there for those who want it, and dotted words explain themselves when you point at them or tap them.
Are the simulations real?
Yes. Lenia is computed by Fourier transform exactly as in its reference notebook, with Orbium's own cells; the Game of Life is the rule itself; Particle Life integrates its force law for every pair in range; the creatures run on springs, gravity and friction, and the genetic algorithm evaluates every one of them; the Wright-Fisher model draws every generation at random. Each screen says whether it is the exact rule, a model or an illustration.
What is Lenia?
A continuous version of the Game of Life, published by Bert Chan in 2019: cells take any value between 0 and 1, the neighbourhood is a soft ring, and time moves in small steps. Its worlds hold creatures that keep their shape as they move. The lab runs the original rule and lets you change it, map where a creature survives, and search for new ones.
Can the lab find new creatures?
Yes. The search seeds random soups under a rule and keeps the ones that settle into something that holds together and moves; you can keep what it finds, and your creatures stay in this browser. The matrices of Particle Life can be searched the same way, ranked by the structure they make.
Can I share what I am looking at?
Yes. The address follows the experiment and the settings you changed, so a link opens the same tab with the same settings.
Is anything sent anywhere?
No. Everything runs in your browser, and your progress lives in this browser's storage.