A rectangular petri dish, one overhead lamp, and a population left to evolve. This is an artificial-life experiment: adaptive behaviour is possible; intelligence is not promised.
01 / Six starting traits
a — appetite: eating tendency and bite strength. b — replication drive: higher means a shorter recovery between births. c — motor strength: powers joint actuation in joined bodies and cilia-like propulsion in single cells, with an energy cost. Joined bodies must move their connections to swim. d — resilience: health and defence. e — light uptake: energy from local light. f — ageing rate: higher means faster biological ageing. Low ageing rates cost more to maintain. Ageing rate is always 1–100; other traits are 0–100. Biological age controls maturity and eventual decline.
02 / Birth, competition and feeding
Any mature organism can self-replicate at 80% energy, 75% health and biological age 8, once its recovery allows. Recovery is 2–30 world-seconds; at 95% energy and 90% health it can divide early after the two-second minimum. The parent pays two energy units per new cell plus four for division, then shares its remaining reserve in proportion to parent and offspring cell counts. A smaller offspring costs less. Every ready birth happens immediately. At the 1,000-organism or 20,000-cell processing limits, a small tournament compares nearby organisms of the same ecological form and comparable size. Net energy gathered per cell over a lifetime, offspring production and health determine competitive fitness. Useful older adults can remain; newborns get a brief evaluation period where possible. This makes successful lineages compete mainly within their niche. These are artificial selection rules; there are no fixed species quotas and extinct groups are not reseeded.
Predation depends on hunger and appetite. Full organisms and low-appetite herbivores (appetite below 25) do not hunt living prey. Parents, offspring, siblings and genetically similar descendants of the same founder recognise close kin. Large bodies retain stronger bites, but size alone no longer kills instantly: one contact can remove at most 30% of the defender’s maximum health. Armour reduces damage; movement can end contact before another bite. Each pair can interact once per world-second. Bites transfer prey energy through digestion; deaths leave all remaining resources as nutrients. Eating requires actual cell proximity.
03 / Heritable variation
Offspring inherit their parent’s individual cell genes, roles, connection angles, stroke rhythms, behavioural responses and circuit. Each birth shifts one trait coherently across the body, with occasional small cell-specific changes. Only a minority of joints and circuit weights mutate, preserving successful designs. The default mutation strength is 6%. Some are better suited to their surroundings and leave more descendants. Low mutation preserves useful gaits more often; zero mutation gives unchanged genes and joints, with gain/loss/new-trait controls remaining separate. Cells can specialise as light collectors, feeders, motors, sensors or armour. Starting populations already vary in absorption, sensing, memory, learning and efficiency, so those abilities can be refined from the beginning. New traits can still arise. Colours are calculated from each cell’s own parameters; energy changes brightness. Learned adjustments belong to the individual, while genetic circuits and body structures are inherited.
04 / Bodies can grow or simplify
Gain and loss both default to 0.05% per parent cell per birth. A single cell has a 0.05% chance of adding a cell and cannot lose its last cell. A 20-cell parent has a 1% chance of addition and a separate 1% chance of loss; 100 cells gives 5% each. A birth changes size in only one direction. Gain adds one connected cell. Loss removes a randomly chosen tip or small terminal branch of up to 5% of the body, always preserving the root, connected geometry and valid connectors. The smaller shape, its remaining cell roles and gait pass to subsequent generations. Each slider can be set to zero independently. Bodies remain bounded at 1–128 cells. The inspector shows the two actual probabilities.
Energy capacity is 100 units per cell. Each cell has upkeep, plus a modest coordination cost that increases with body size; unnecessary cells therefore have a real cost. Connections sit 1.5 world units apart and retain reciprocal angle parameters. Shape changes cannot fold cells through each other. Swimming comes from actual joint strokes against a simplified viscous fluid, including opening/folding cilia paddles and travelling snake bends. Rhythm, phase, flexibility, roles and neural control affect propulsion and energy use. Rigid joined bodies receive no free propulsion. Single cells have their own motor and small Brownian drift; all bodies also diffuse slightly. Separate organisms can overlap, while close encounters allow feeding.
05 / Light and open water
One overhead lamp lights the dish. Every cell harvests light according to its uptake gene, role and local illumination. Collecting cells share a finite lamp budget and a local light budget in crowded water, so dispersal can help.
There are no protected zones. The same feeding and predation rules apply everywhere. Gold outlines only show where extra nutrient rain currently falls; they do not prevent attacks. Hunger, appetite, kin recognition, health and actual contact govern encounters. Movement and resource use determine survival.
06 / Sensing, escape and learning
Founders start with different circuits of 4, 6, 8 or 10 neurons. Mutation can increase or decrease circuits within 3–32 neurons. Circuits receive energy, health, light, food, contact, danger and reward signals. Sensing, memory and learning genes vary from the start. Lifetime learning can reinforce actions followed by energy gain, improved health or reduced danger. Extra circuitry and traits cost energy; intelligence or perfect navigation is not guaranteed.
Each cell senses local nutrients and reflected light from nearby organisms. Close kin are not treated as food or threats. Cilia respond to differences across the body by changing the beat on each side; snakes bias their body bends. Food attracts and larger hungry threats encourage escape. Single cells compare successive nutrient readings: they tend to keep swimming when food improves and tumble more often when it worsens. Rising danger also triggers escape turns. Foraging, escape, activity and exploratory turning responses are inherited and can mutate. These behaviours give useful movement and avoidance something to evolve from. Joined-body steering still changes real strokes and fluid reaction; it never assigns a target heading or free speed.
07 / Food and recycling
Rain defaults to 120 drops per world-second, 300 food units per drop, adjustable from zero to 1,000 drops/second. Sixty percent is scattered across the whole dish and forty percent follows two moving patches. The world starts with 1,800 drops. Nearby deposits share a local 16-unit tile, allowing up to 1,995 spatially distributed piles. More rain adds real food even once every tile has a pile; dots grow with their contents. Uneaten nutrients wash out slowly over 600 world-seconds.
Every death deposits a pile at the body's centre. Its remaining energy, biomass and gut contents are conserved, after any predator's immediate share (up to 45%). Fifteen percent of the deposit is immediately edible; the rest becomes edible gradually over a 20-second decomposition timescale. This prevents a corpse being vacuumed up in one simulation step. Amber fragments mark remains; they shrink as food is consumed. Ordinary feeding is limited by each cell's appetite, absorption, role and elapsed world-time. Food can be reached within seven units, modified by role. No energy is awarded merely for being near a pile.
The food readout shows edible and total food, pile/remains counts, and the actual rain input. Eating, waste and death recycle existing resources; light and rain supply new energy. Empty guts and light alone produce no waste. All organisms can still age, starve or die from injury.
08 / Watch populations evolve
The starting mix has 636 organisms with different diets, body sizes, shapes, circuits and traits. There are 360 light feeders, 48 motile single scouts, 48 branching bodies, 120 cilia swimmers (40 per row count), and 60 compact snakes (30 per row count). Cilia span five beat patterns and one to six pairs, with more small designs than before. Snake chains start at 8–24 cells; double rows at 12–32 total cells. Their real bending strokes can steer towards food and away from threats. All these families can change size through inherited cell gain or loss.
Life begins immediately. The optional Restart with movement selection button runs eight initial selection rounds within body families; light feeders skip this contest and Release now ends it early. During ordinary life, feeding, survival, resource-funded reproduction and competition within ecological forms determine which descendants spread. Selection uses measured resource balance, never generation number or a promise that every mutation is an improvement. The population panel shows ecological groups so coexistence or loss is visible. Evolution in the dish reports mean living generation, surviving founder lineages, births per world-minute and recent net energy per cell. Generation count measures turnover; it is not itself proof of better behaviour. The inspector reports reproduction blockers, offspring count, birth time, cell gain/loss probabilities, energy budget, local signals and death cause. Selecting Find body type repeatedly cycles through living examples. The dish header shows the dominant founder lineage.
Pause, step or use 20×/50×/100×/Turbo; actual speed depends on the available processing time. Cells remain 2×2 backing-store pixels; nutrient piles grow with their food content and remains have amber fragments. Reload starts a fresh world; restart retains current recipe and controls. Only the starting recipe is saved. Hunger, kin recognition, plentiful distributed food and competition within forms influence coexistence; evolutionary outcomes can still differ between runs.