A simulation that never stops

A living world,
computed from what is known.

Vivarium is a garden of water, soil, weather, plants and small animals that runs day and night on a server. Its water moves by the shallow-water equations, its organisms inherit real genomes, and its animals' brains are wired from published connectomes, down to the 139,248 neurons of the fruit fly.

World day
–
Animals alive
–
Plants
–
Species
–
Air temperature
–
Machines computing brains
–
Live

The garden, at this moment.

These figures are read from the running world every few seconds. Nothing on this page is a recording.

––:––
–
–
Animals and plants alive, since the world begananimals plants

Lately

  1. Listening…
Matings
–
Hatched
–
Deaths
–
Water on the land
–
Climate and tide of
–
01

Three rules the whole thing is built on.

Nothing is scripted.

No animal is told where to go and no outcome is written in advance. Populations rise and fall by birth and death; behaviour is meant to come from each animal's own body, senses and nervous system. Where a written rule still stands in for a circuit, it is listed under Limits.

Everything is sourced.

Wiring diagrams, constants and equations come from the scientific literature and are cited where they are used. If a number in the world cannot be traced to a measurement or a published model, it is treated as a fault to be fixed.

The server is the world.

The simulation runs on the server and does not pause when nobody is looking. A browser only draws it. Every visitor sees the same garden, the same animals, the same weather, at the same moment.

02

What is computed.

Eight coupled systems, each on the equations and data of its own field.

Nervous systems

The whole-brain connectome of an adult fruit fly, 139,248 neurons and 2.7 million connections, run as leaky integrate-and-fire neurons. Also the complete nervous systems of C. elegans, Platynereis and Ciona.

Dorkenwald et al. 2024 · Shiu et al. 2024

Water

The shallow-water equations on a 10 cm grid over the real terrain: rain soaks in or runs off, gathers in hollows, fills them and spills. Turbulent and viscous resistance, infiltration by soil texture, evaporation from the energy balance.

Bates et al. 2010 · Green & Ampt 1911

The water's skin

At the size of an insect, water has a surface that carries, wets or traps. Which one happens follows from surface tension along the legs, the animal's weight and the force of its muscles; wet wings do not fly until they dry.

Bush & Hu 2006

Soil and chemistry

Minerals weather, litter rots, nitrogen and phosphorus cycle through microbes and roots. Ants dig their nests grain by grain in a 2.5 mm soil that slumps at its angle of repose; nothing about a nest's shape is given.

Element and compound tables from published data

Light and air

Sun and moon by orbital geometry at the garden's latitude. Light is absorbed through the air, through leaves by their pigments, and through water with the measured spectrum of H2O, which takes red thirty times faster than blue.

Pope & Fry 1997 · Féret et al. 2017

Plants

Growth from light, water and nutrients; stomata that open by the trade of water lost for carbon gained; a leaf energy balance; seeds, germination, competition for light. A meadow is a community, not a texture.

Medlyn et al. 2011

Heredity

Every organism carries a genome. It is recombined at meiosis, mutated, and expressed as the traits of a body; species are told apart by how far their lineages have diverged. Selection is whatever lives long enough to breed.

No fitness function anywhere

A place

The garden has the latitude and the climate of the wetlands of Cape May County, New Jersey: weather made by travelling fronts and lows on a simulated planet, held to the temperatures, rain and winds measured there. Not today's weather there: its climate.

NOAA climate normals, 1991 to 2020

Tide and salt

A tidal creek fills and empties twice a day. The tide is computed from the constituents measured at Cape May, each driven by the sun and moon of this world's own sky, so spring tides follow its new and full moons. The water carries salt into the marsh soil; plants and animals live or die by how much they can stand.

Harmonic constituents of NOAA station 8536110
03

Brains wired as they were measured.

The adult female fruit fly brain has been reconstructed neuron by neuron from electron microscopy. Vivarium runs that wiring as spiking neurons with one set of biophysical constants for every cell, the model of Shiu and colleagues, and then asks the same questions an experimenter would.

  • Sugar on the tongue fires MN9, the motor neuron that extends the proboscis. Bitter does not.
  • An odour activates about 9% of the mushroom body's Kenyon cells; in living flies the figure is 5 to 10%.
  • A shadow looming on the left fires the left giant-fibre escape pathway and steers the fly to the right.
Neurons
139,248
Connections
2,700,429
Cell types
8,871
Leaky integrate-and-fire neuron, liveτm dv/dt = (vrest − v) + g
vrest−52 mVvthreshold−45 mV
τmembrane20 msτsynapse5 ms
synaptic delay1.8 msrefractory2.2 ms
weight per synapse0.275 mVtime step0.1 ms
04

A fly's brain is more than one server can run. So people lend theirs.

Volunteers' computers work through the whole brain one question at a time: every sense, every one of its 8,871 kinds of cell made to fire, every kind silenced in turn, every neuron alone. Each answer is computed twice, on two different machines, and counted only when they agree.

Units of work confirmed–
––
Machines now
–
Answers a minute
–
Brain time computed
–
Nerve impulses
–
Being computed now
  1. Waiting for the hub…

No account. No identifier. Nothing about you or your computer is collected, and nothing is installed: a browser tab is enough.

05

What it is not, yet.

A simulation is only as honest as its list of shortcuts. These are the present ones.

  1. Two clocks. Animals move in real time, a second for a second. The calendar runs twenty-four times faster: one simulated day passes in an hour, so that seasons and generations can be watched.
  2. Instinct is still partly written. Much of what an animal does is, for now, a rule of instinct. These are being replaced one at a time by circuits in the animal's own brain, with the rule kept only as the measure a circuit is checked against.
  3. Not every brain has been mapped. No wiring diagram exists for an ant, a spider or a bee. Their brains begin from the fly's and have to grow into their own.
  4. Reduced brains in real time. The host has two processor cores. Living animals run reduced forms of their brains every tick; the full spiking brain runs on volunteers' machines.
  5. Ten centimetres of water. Water is computed on a 10 cm grid. Finer motion near the viewer is drawn rather than computed; a particle fluid for close views is experimental.
  6. A few dozen species. The world holds a small founding community, not the thousands of a real wetland. They arrive group by group, as each can be given a true body, life cycle and nervous system.
06

Built on other people's work.

The data and models below are published science, used under the terms their authors released them under. Credit belongs to them.

WhatUsed forReference
FlyWire whole-brain connectomeThe fly brain: every neuron, its type, side, transmitter and connectionsDorkenwald et al. 2024, Nature 634:124 · Schlegel et al. 2024, Nature 634:139 · Eckstein et al. 2024, Cell 187:2574
Whole-brain spiking modelThe neuron model and its constantsShiu et al. 2024, Nature 634:210
Hemibrain connectomeThe half brain the insects ran until the whole one took over (October 2026)Scheffer et al. 2020, eLife 9:e57443
C. elegans nervous systemThe roundworm's 302 neurons, synapses, gap junctions and musclesWhite et al. 1986 · Varshney et al. 2011, PLoS Comput Biol 7:e1001066 · OpenWorm
Platynereis larva connectomeThe marine worm larva's whole-body wiringVerasztó, Jasek et al. 2024, eLife
Ciona tadpole connectomeThe sea squirt larva's nervous systemRyan, Lu & Meinertzhagen 2016, eLife 5:e16962
Shallow-water flowHow water runs, gathers and floodsBates, Horritt & Fewtrell 2010, J Hydrol 387:33 · de Almeida et al. 2012, Water Resour Res 48:W05528
Surface tension and small animalsWho the water's surface carries and whom it holdsBush & Hu 2006, Annu Rev Fluid Mech 38:339
Optics of water and leavesThe colour of water at depth; light through a leafPope & Fry 1997, Appl Opt 36:8710 · Féret et al. 2017, Remote Sens Environ 193:204
Insect body modelsThe close-up bodies of the flies, the leaf beetle, the moth and the antsxr843, insect-world (MIT)
Climate and tide of Cape MayThe garden's temperatures, rain, winds and tidesNOAA climate normals 1991 to 2020 · NOAA tide station 8536110
Particle fluid libraryExperimental close-up waterD. Greenheck, threejs-particle-fluids (MIT) · Macklin & Müller 2013

It is running now.

Day – of a world that has not been reset. Go and look.

Enter the living world