Centipedes and millipedes
A many-legged body built from its parts: the number of segments, their shape, the legs on each and how far every joint can bend. Set them yourself or start from a real animal, then watch it walk, coil up or climb over stones and logs. The waves running down its legs, how many feet touch the ground and whether it can close its coil all follow from those settings. The camera sits low with a slightly wide, fish-eye lens, as if you were down in the leaf litter with it.
The common kinds
Each card sets every parameter to that animal. Counts of segments and legs are for adults; many kinds add segments and legs each time they moult.
Centipede or millipede?
| Centipedes (Chilopoda) | Millipedes (Diplopoda) | |
|---|---|---|
| Legs per segment | One pair | Two pairs on most rings: each ring is two segments fused (a diplosegment). The first rings carry one pair or none. |
| Where the legs sit | On the sides, splayed out | Underneath, close together |
| Body | Usually flattened, quick and flexible | Usually round (or flat-backed with keels), slow, a hard tube |
| Food | Predators: the first pair of legs is turned into venom claws (forcipules) | Mostly rotting plants and wood |
| Defence | Bite, run, and the trailing last legs | Coil into a spiral or a ball; many ooze repellent chemicals |
| Leg waves | Usually head to tail (retrograde), left and right legs alternating | Tail to head (direct), left and right legs of a pair together |
| Number of legs | 15 to 191 pairs, always an odd number of pairs | From a few dozen legs up to 1306 |
Neither has a hundred or a thousand legs by rule: "centipede" and "millipede" just mean "hundred feet" and "thousand feet". For a long time no millipede had more than 750 legs, until Eumillipes persephone was described in 2021 with 1306.
How they walk
- Leg waves. Each leg swings forward through the air and then pushes backward on the ground. Neighbouring legs do this a little out of step, so waves of movement run along the body (metachronal waves). The legs per wave setting is how many pairs one wave covers.
- Duty factor is the fraction of each stride a foot spends on the ground. Millipedes keep it high (about three quarters), so most of their legs are pushing at any moment: slow, but strong enough to bulldoze through soil and leaf litter. Fast centipedes drop it towards a third, with fewer feet down and longer strides.
- Stride and speed. A foot pushes back over its span while it is on the ground, so the body moves span ÷ duty factor per step. The model takes the speed you set and works out how many steps per second that needs (the readout shows it).
- Undulation. Fast centipedes such as Scolopendra and Lithobius swing from side to side as the leg waves pass. The house centipede does not: its long legs hold its short body straight. Millipedes never undulate. Here the swing is a travelling wave tied to the leg cycle that grows with speed; real centipedes control it more subtly.
- Coiling. Coiling uses the up-and-down (ventral) bend of every joint. A round millipede rolls onto its side and curls into a flat spiral with its head in the middle. A pill millipede curls into a ball. The coil closes only if each joint can bend far enough: lower up/down bend per joint and see the spiral open up, or the ball fail to close. Centipedes do not roll up to defend themselves; brooding females curl around their eggs, which is what the curl here shows.
- Climbing. The body follows its head over the ground. Each joint can only bend so far, so a stiff body bridges across a log while its legs reach down. A flexible one drapes over and hugs it.
How the model works
The body is a chain: the head walks forward and steers, and every segment is pulled along behind the one in front, at a fixed spacing, never bending more than its joint allows. Every leg has a phase in the stepping cycle, offset from its neighbour by one wave's worth. A foot on the ground stays planted where it touched down, while a swinging foot arcs forward to a new foothold half a span ahead of its hip. Each leg is two bones solved to reach its foot. Stones and logs are smooth shapes the feet stand on. It is kinematic, not a physics simulation: nothing slips, and the forces are not computed. The parameters are in real millimetres and seconds. The scene is scaled to the animal so that each one fills the view; the scale bar shows the real size. Speeds for the presets are typical walking speeds; only the house centipede's sprint is a measured figure.