Living scene · In development · October 2026

Terrarium

A sealed glass jar of moss, stone and soil where small soft-bodied creatures live whole lives. They hatch, graze, court, lay eggs, grow old and go back to the moss. Each one is built from a genome, and its children inherit a blend of their parents. You don't breed them. You watch, and the jar decides.

love2dluaglslsimulationartificial-lifeproceduralambient

Clips

A day in a minute

From the jar's first weeks, before anything was born in it: one whole day under a sped-up sky, with the creatures moving at their real speed. Condensation fogs the glass before dawn and clears by midday, the lamp comes on, the light warms toward evening, and after the lamp goes off the jar turns blue in the moonlight.

Midday, up close

Twenty-five seconds at midday, in real time. The worms crawl in bunches and drape over the edges they aren't stiff enough to bridge. The blobs jump only the arcs their size can make. The spiders walk on legs that step in two alternating groups. Each creature goes only where its own body can, because its map of the jar is built from that body.

The lantern

Click anyone and a small lantern follows them. Here the lamp has just gone out and the lantern stays with Rill, a worm, as Rill crawls along the log and down into the moss, which glows faintly in the dark. The lantern only watches. The jar never knows it is there.

Screenshots

About

Terrarium is a sealed jar of moss, stone and soil, and the small soft creatures that live their whole lives in it. They wander, graze on the moss, court, lay eggs, grow old, and go back to the moss. Each one is built from a genome, and its children inherit a blend of their parents with a little drift. Over a few weeks the jar holds a family nobody designed.

It’s a quiet game about watching something become itself. You don’t breed anything. You watch, follow someone with a lantern, and now and then drop in a pinch of food.

A Month in One Jar

The film above is a month in one jar: 30 jar days, from one dawn to another, watched from where you’d stand. It eases from fifteen times life up to two seconds a day and back down, so it ends as it began, with the lamp clicking on. The marks low on the left gain a stroke each dawn.

Nothing in it is staged. It’s seed 20261018 opened at dawn and left alone. Two worms, two blobs and two spiders found the jar. In the month, 52 creatures hatched and 48 went back to the moss. By the end the jar is seven generations on, and none of the six that started it is left. There’s no fitness score and no hand on the scale: the moss grows where the lamp falls, and the bodies that can reach it live long enough to court.

Each frame is four renders spread over the time it stands for, like a long shutter, so a creature that crossed the jar between frames leaves a trail. Jar days in the film are fifteen minutes long. In the game a jar day is a real day, and the lamp keeps your clock.

The cover is the same jar at midday on its sixteenth day: grown blobs with pale hatchlings beside them, two worms reared up against the stones, and a young spider on the arch. There are fifteen creatures, and not one of them was there when the jar opened.

The Life of a Jar

  • Grazing. The moss is a grid of cells, each from bare to lush, under a ceiling set by how much of the lamp reaches it. It grows only while the lamp is on. A grazing creature crops it, and that is the only thing that feeds its hunger. Feet wear paths into it.
  • Courting. Two of a kind that keep meeting court, each in its own way. A worm’s head loops a ring with its partner’s half a turn away, a blob swells on a beat and leans in, a spider faces its partner and taps one front foot, then the other. Their markings flush on the beat.
  • Eggs. A pair lays one to three eggs in the moss: a worm’s lemon-shaped cocoon, a blob’s frogspawn bead, a spider’s silk sac, each in the child’s pale colours. A child is a crossover of its parents’ genes plus a little mutation.
  • Growing up. A jar day later the eggs hatch small and pale. A hatchling grows into its own genome in three moults, one per sleep.
  • Growing old. A creature lives three to five jar days. An elder slows and its colours deepen. When its time comes it dies in its sleep on the moss, its eyes close, and it fades back into the moss over a minute and a half, which grows back richer where it lay.

The jar holds at most sixteen. Underneath, a hidden floor keeps any kind from vanishing: when a kind is down to two, their clocks stop and they court after a single meeting, and other kinds leave room in the jar for their eggs. It emits nothing and nothing draws it. You’ll never see it work, but it means a jar left alone for a month is still a jar.

Genes Make Bodies

There are five kinds now, and a jar is home to three of them, two of each, drawn from its seed. Every gene has to change something you can see within a minute:

  • Worms: how many segments they have, which sets their length, and how stiff they are. A stiff worm bridges a gap and a loose one drapes over the edge.
  • Blobs: their size, which sets their body and the jumps they can make, and their pressure, which sets how firmly they hold their shape.
  • Spiders: four, six or eight legs, stepping in two alternating groups, and how far those legs reach, which sets the gaps they can step across.
  • Springtails: how hard their tail throws them, and how long their antennae are. They walk only to line up a leap, and somersault in the air.
  • Snails: their size and the turns of their shell’s spiral. They glide on a rippling foot, leave a ribbon of slime that shines in the lamp, and seal themselves in to sleep. When a snail dies, its shell stays in the moss.

All of them share colour, markings, glow, boldness, sociability and chronotype. Boldness sets how far a creature wanders and the biggest leap it will dare. The sociable follow one another and sleep in piles. A night owl’s day runs late against the lamp’s.

The lineup in the gallery is forty random genomes, eight of each kind, by day and by night, with nobody chosen. It was the gate for the genes: varied, but plainly one family.

The Body Never Lies

Terrarium brings two earlier projects together. Character gave it its creatures, which find their way around by what their bodies can actually do. A navigation graph is built from each body, with every jump checked against a real ballistic arc, so a creature is only ever offered paths it can travel. Change a gene and you change where a creature can go: a big blob can’t fit where a small one can, and a long-legged spider crosses gaps a short one has to go around. Fishbowl gave it the jar: the glass, the depth of field, the day cycle, the plants and the drifting motes.

A Jar Is Its Seed

Everything alive advances on a fixed 120 Hz step, and every random choice comes from the jar’s seeded streams. A jar is its seed plus its history, so a whole month can be replayed exactly. CI steps the same jar in two separate processes and fails if their state hashes differ, and checks a jar with no window against one with a window, because drawing must never change what happens. Hearing it mustn’t either: the jar’s sounds, heard faintly through the glass, are synthesized from each creature’s genes and draw from a stream of their own.

The cycle of life has its own gate. Ten seeds each live thirty jar days of real length on a coarse step, with each creature reduced to a token walking its own graph. In every one, the jar never holds fewer than four or more than sixteen, no kind is ever gone, every founder goes back to the moss, and every kind reaches its fourth generation.

Next

Version 0.1.0 adds names, a family book that remembers who arrived and who is gone, saving, and catching up on what happened while you were away. It will also hang on a wall: a Raspberry Pi 5 behind a seven-inch touchscreen runs the jar full screen, where a tap follows a creature and a held finger drops in a pinch of food.

How These Were Made

Everything on this page was rendered by the game. Its --script mode moves time only when a script asks it to and draws frames offscreen at any size, so a capture is exact: the same script gives the same jar on any machine. The month is scripts/timelapse.lua. It renders the jar at 2560×1600, pipes the frames straight into ffmpeg, and crops them to 16:9 the way the picture frame does. The close stills are from scripts/moments.lua, which leaves the same jar to live and frames each courtship, clutch, hatching and return to the moss where it happened, a few seconds after. Both are in the repo. The only edits are scaling and compression for the web.

Technical Details

  • Engine: LÖVE 11.5 (Lua), with GLSL shaders
  • Bodies: verlet worms, pressure blobs and FABRIK spiders from Character, a verlet springtail on six two-bone legs, and a snail whose foot walks the surface while its shell rides a log spiral
  • Navigation: a graph built from each body, A*, and a ballistics model that gives the lowest jump arc that clears the level
  • Minds: hunger and temperament choose between grazing, wandering, following, resting and courting, reading nothing of a body but where it stands
  • Rendering: a shallow 3D jar projected toward a vanishing point, rgba16f canvases, depth-of-field blur, colours from an OKLCH hue wheel each kind owns a stretch of, condensation drawn from the hour, and a composite pass for the glass, vignette and grain
  • Determinism: a fixed 120 Hz step, four seeded random streams (the simulation, the look, the jar’s composition, and the sound), and a state hash for replay checks
  • Tests: a self-test of the nav graphs, trips, 200 random genomes per kind, courtship, eggs, death, the floor and the month, run on Linux and Windows in CI
  • Libraries: LoveLibs as a git subtree