aldus.nexus

Food chain

Start as a speck on a microscope slide. Eat anything smaller, flee anything bigger, and grow through tide pools, reefs and the deep until you can swallow a world. Every death earns pearls for upgrades.

The numbers

growth this runlength, log scale
food pyramid on screenfish by size against yours
run historybest length each run

Upgrades

Bestiary

what ate youevery run so far
what you atetop species

How it works

96 creatures live at their own scales: amoebas and water bears on the slide, gobies and hermit crabs in the tide pool, two dozen reef fish, rays and barracuda in the lagoon, marlin, orcas and bait balls in the open ocean, anglerfish and giant squid in the dark of the deep, then sea serpents, mecha-fish and kaiju around the ocean world and star whales at planet scale. Every one you meet goes in the bestiary.

Who eats whom is decided by area, not length: a long thin shark can be smaller than a round puffer. Touch anything with less area than you and you eat it; touch anything with more and you're the meal. Within 3% it's an even match and you both bounce off. Colour tells you the size class (pale, then red through violet, then the rainbow), and the lateral line outlines fish close to your own size in green (edible) or red (not).

Hitboxes are exact. Each fish is drawn from smooth curves, and its collision shape is the same outline sampled into a polygon of 30 or so points for every pose of its swim, so a wagging tail can hit you and a gap between fins can't. A collision is tested in stages: bounding circles first, then boxes, then whether any pair of edges cross (and, if none do, whether one shape is wholly inside the other). Fish are filed in a spatial grid each frame, so each check only looks at neighbours. Press H or tick show hit shapes to watch them.

Sizes are log-normal. New fish are drawn with log(length ratio) from a bell curve centred a little below yours, so most are smaller, a few are bigger, and the share of threats creeps up as the run goes on and the seas get bigger, like the random draws on Monte Carlo. Schools follow the three rules of boids: keep apart, line up, stay together. Hunters spot you, flash a warning and then steer straight for you, a much simpler chase than the searches on pathfinding.

The camera zooms on a log scale. The view frames your size, easing out after each bite, so you always look about the same on screen while the world shrinks around you; the backdrop zooms out across each era and fades into the next, from a microscope slide to a whole ocean world like the ones in planet forge. Across a run you can grow over eleven powers of ten. The patterns on the fish are hand placed, but the real ones grow by reaction-diffusion, and at planet scale you are bigger than the bodies on N-body.

The economy is geometric. Each upgrade rank costs about twice the last, pearls come from bites, growth and new eras, and the appetite upgrade lets bigger colours count for more growth, as min(colour, rank + 1). Bigger bodies need more food, so the climb stays long: it takes many runs, a few hours and every branch of the tree to reach the top, which is a bit like evolution with you as the selection.

One rule, eat what's smaller, makes a whole food web, and a log scale turns a speck into a planet in a few minutes of swimming.

eat if Afish < 0.97 · AyouA is the exact hit-shape area; within 3% both bounce
log₁₀(Lnew / Lyou) ~ N(μ, 0.3²)μ starts at −0.29 and rises with the era and time
Δ log₁₀ L = min(t, r + 1) · 0.0105 / (1 + 0.5·(c − 1) + 0.04·(c − 1)²)t the prey's colour and c yours, counted from 1 (pale is 1); r your appetite rank
zoom = 36 px / Lcamera, Lcamera → Leases towards your length over about a second and a half
cost(rank) = base · mrankm is about 2: each rank costs roughly double

Save

Progress lives in this browser. Copy the save string to move it, or paste one to load it.