← labopen hat-throwers →

Hat-throwers

A macro timelapse of dung fungi out in a pasture, starting at the field's hour now. Or, with ?terrarium, one pat on its own over its three weeks; or, with ?one, a single species' night and morning.

The field

Time doesn't start from zero. The field is in England, and keeps its time (Europe/London): whoever comes, from wherever, arrives at the same moment in it, on today's date at the hour it is there now. From then on it's a timelapse, running ahead of the real clock. The camera comes down into a pasture where pats lie at every age (client/fungi/pasture.ts):

Cows keep coming. The field is tiled, and each tile has a few spots where, each on a cycle of its own (two to three months), a pat is dropped, always at nine in the evening. So which pat is where, and how old, follows from the field's seed and the hour alone. It's the same field for anyone looking at the same moment, and nothing has to have been simulated before it. Each pat near the camera is a terrarium (below), simulated from its own seed when it comes into reach and moved into place and time. Each stands as a mound for its three weeks, then dries, flattens and goes back to grass over the next five. All the pats lean their fungi to the field's one sun.

The grass (client/fungi/grass.ts) is, at this scale, a forest:

Among the grass (client/fungi/flora.ts):

Every blade (and moss, clover, web) comes from the field's seed and its place, so the grass is the same wherever you look from. It's drawn only near the camera, finer nearer, and never between the camera and what it's looking at.

Visitors to the pats (client/fungi/visitors.ts), as long as the fungi are tall:

The director works across the field. It prefers moments near where it is: a long way to go for a moment loses it. Between moments it looks at the pat with most going on nearby. Now and then it takes other shots:

The caption names the pat's age. The clock shows the field's date and hour. The scrubber covers four weeks, two either side of when you came, and moves on as time does. another gives another field. ?hour=6.5 starts at the last time it was that hour; ?age=40 starts at the pat nearest that many days old.

A pat (the terrarium)

On dung the fungi come in an order. It's a succession, and a real one:

  1. First, within days: the pin moulds and the hat-throwers.
  2. After a week or so: the jelly cups, and in some terrariums an eyelash cup and the flask fungi.
  3. Last, at two or three weeks: the inkcaps, in some pats a yellow fieldcap or two, and the tall mottlegills.

Each lives in the dung as mycelium before it fruits, eating it and taking ground from the others. Where it's thickest and the dung still has food and water in it, it fruits. As the dung is eaten, the early ones give out and the later ones take their ground.

A terrarium has two to six species, in that order, each arriving on its own day. (Their arrival is scheduled: in a real pat most were in the dung from the cow, or come in on flies and beetles. When each first shows is drawn from the seed, not simulated.) Under them is a grid (client/fungi/terrarium.ts) of the dung, about a millimetre to a cell, stepped every six hours through the three weeks. Each cell has:

From the grid come the fruit. Each species flushes at nine in the evening, once it's settled in, in clumps where its mycelium is thickest: as many as it can feed. Fruiting costs: a flush takes food out of the dung under it and spends the mycelium that made it (a pin mould little, an inkcap or a mottlegill a lot), so a clump that's fruited can't at once fruit again. Every stalk and cushion has a lifespan; it slumps, inks, shrivels and goes. A late species can fail: by the time it comes the dung may be too spent, or too dry, for it to fruit at all.

A throw is one event (client/fungi/launch.ts). It's worked out once, when the terrarium is, and everything about it reads the same record:

The stalk it left kicks back, and rings. What it hit is pushed the way it was going, and rings too; the sporangium squashes on it, wobbles, and stays a little flattened against it (one landing on the dung, likewise). What it stuck to carries it from then on, black on the stalk. A nematode riding it goes with it, curled on it in flight and where it lands, or out of sight with it. A cup's spores land in dark smudges round it. Where spores land on dung wet enough, some of them start the species again: new mycelium, another flush later. On dry dung they wait, for a few days at most. Inkcaps drip ink from their margins as they dissolve, and leave black stains on the ground that outlast them.

Animals live with them (client/fungi/critters.ts):

The mites and springtails come where the grid's grazers are thick, when they are. When and where comes from the seed and the hour, so a scrub lands on the same animals. Where a stalk's foot is in its way, a nematode's body bends round it, and a mite or a springtail goes round it. How they move runs in real time, as it would under a lens while the hours went by. When the camera goes down to a mite or a springtail, it follows it.

The dung itself is full of grass, chewed and digested: fragments of leaf and stem lying every way, straw-coloured to dark brown, veined, half sunk.

The ground shows the grid as it goes:

The camera is there before it happens. The grid's run keeps a list of moments worth watching: a flush coming up, a thrower about to fire, inkcaps opening or inking, a cushion's asci firing, a sporangium stuck to a neighbour, a nematode riding one, mites grazing, flasks shooting, a nematode caught. A director picks the next one it can get to in time: the camera takes a few seconds to travel, so only what's at least that far ahead (at the speed time is going) counts, and a throw counts most. It travels there, unhurried: in close, low, the lens wide open. It looks at the thing itself as it is (the vesicle as it swells, the cap where it is), not at where it was planned. It stays for what comes after: the stalk slumping, the black sporangium where it stuck, the spores' smudge.

A throw is seen in slow motion. As one comes, time slows until a few frames hold the few milliseconds of flight; then it ramps back up over a couple of seconds. No camera shake.

Between moments it pulls back above whatever is up, stopped down so more is sharp. When nothing is near, time runs faster (up to four times) until something is. The caption names the species it's on, or the terrarium's cast.

The light runs on a full day too: night, a warm dawn from five, day, a warm evening, night by nine. Three weeks take about eight minutes. A terrarium starts where its first fruit is coming (about two days in), not at the empty dung, and ends at three weeks, the last of it going: then it starts again. In the field the clock shows the date; in a terrarium it counts the days.

The kinds

KindWhat happens in its day
thrower (Pilobolus)Sporangiophores push up, clear as glass and yellow at the top, beading with water they sweat out. Under each tip a vesicle swells: a balloon that's also a lens, turning the stalk toward the light. The black sporangium on top darkens. By late morning the vesicle bursts and shoots the sporangium off toward the light; the stalk slumps.
pin (Mucor and kin)Glass stalks with yellow heads, beading with water. They never throw.
inkcap (Coprinellus)Pale, pleated caps on velvety, hairy stalks, rising out of tufts of white mycelium. Each cap starts as an egg and opens to a bell. Late on, its margin splits and inks, grey to wet black.
eyelash cup (Cheilymenia, Scutellinia)Saucers a few millimetres across, orange to scarlet and wet inside, paler outside. Their rim is fringed with dark, stiff hairs, curling outward like eyelashes. They open slowly and last days, darkening and drying from the rim as they go.
flask (Sordaria, Podospora)Hundreds of tiny flasks, half sunk in the dung: soft and pale at first, then black and glossy. Each has a neck that turns to the light. Every so often one shoots a puff of spores off the tip of its neck.
fieldcap (Bolbitius)Late, a few to a pat. A yellow cone on a fragile pale stem, egg-yolk at its middle, slimy, its margin finely striate. It opens out flat within the day and is gone by the next.
mottlegill (Panaeolus)Last, a few to a pat, on stems several centimetres tall. Its cap is an egg, then a bell, never flat; cream, clay at its top. Its gills mottle black as its spores ripen unevenly. It lasts a few days.
cup (Ascobolus)Lumps of yellow-green to amber jelly, glistening, deeper orange at their foot. Through their skin the asci push up one by one: clear tubes, each with a column of eight spores, greenish, ripening black. A ripe ascus fires its spores off together, the fastest launch in the living world, and shrinks back. The spores still below the skin show through the jelly as dark streaks.

Hands

The species

Everything comes from the seed (client/fungi/genome.ts): which of the kinds it is, then its own range of everything:

It also gets a name: a genus made from the seed with an ending for its kind, and an epithet from what it's like. The names are made up, as the specimens are: each is procedural, after a real genus (the caption says so: "after Pilobolus"), not a real species.

How it's drawn

Light. The sun (or the lamp at night) casts soft shadows. Each frame first draws a depth map from the light, fitted to what the camera is on and snapped to its texels so the shadows don't crawl. Into it go the ground and the pats' mounds, the fungi's caps and opaque stems, the grass, the animals and the litter. Clear things (Pilobolus stalks, nematodes, wings) cast next to nothing. Everything opaque then looks it up softly: grass stripes the pats with shade, a cap shades the dung under it. The shade keeps some of the sky. On a device too slow to keep up even at its smallest size, the shadows switch themselves off; ?noshadow turns them off.

Surfaces. The ground's relief comes from cellular noise and a height turned into a normal across each pixel. No detail is drawn finer than a pixel can hold.

What shines. The substrate is dull: the brilliance is kept for what's wet (drops, jelly, slime, the vesicle).

Soft, and solid (client/fungi/soft.ts). A stalk is a turgid tube held at its foot: push it at the top and it bends as a cantilever does, slender ones easily, stout ones hardly. Each frame:

It all follows from the hour and the clock (nothing carried over from frame to frame), so a scrub lands on the same bends. The bend is in the stalk's own sums (along()) and its vertex shader alike, so what's stuck to a stalk or riding it goes where it's bent to. ?stiff turns it off.

The lens adds a faint bloom round the brightest light (glints, dew), lateral colour fringing toward the frame's edges, grain and vignetting.

A macro lens wide open: wet things glisten, stalks are glass or velvet, droplets are lenses, the jelly is lit from inside, and the depth of field is a few millimetres.

  1. The opaque patch.
    • The ground is a lumpy plane with a finer relief of its own for the light: fibrous, crumbly, flecked, darker and glossier in its wet hollows, sparkling where the wet catches the light. It goes white with mycelium threads in patches and round the feet of the stalks.
    • Litter: crumbs and the orange beads.
    • The caps: glossy, with the studio's window in their gloss.
    • The inkcaps' bells: surfaces of revolution, pleated, opening from egg to bell, glowing where the light is behind their thin flesh, with fine dark gills beneath. They ink, wet and shining, at the margin.
    • Spores and mycelium: the asci's spores, and tufts of mycelium (hairs, not a skin). Round each inkcap's foot, threads of mycelium fan out over the ground and curl: the same tube as the stalks, at a fraction of the detail, a few dozen to a foot.
    • The eyelash cups are the inkcap's bell turned over: a saucer, wet and bright inside, downy outside. It sits as the ground slopes, and is raised where a lump of dung would come through its floor. Its hairs are the stalk's tube, dark, leaving the rim already tipped out.
    • The flasks: a glossy black body and a dark tube of a neck.
    • The animals are limbs: swept tubes along a polyline of up to 24 points, each with its radius, kept in a float texture (a row each). Each is smooth (Catmull-Rom) or jointed, round or flattened, with rounded ends. A mite's body is one, flattened; each leg is another, jointed at its seven points; palps, chelicerae and every seta are more. Their materials:
      • polished, pitted chitin with a darker shield and margins that glow with the light behind;
      • paler legs, dark at the joints;
      • a springtail's velvety granular skin, pale between segments, with a violet sheen;
      • a grass fragment's veins and cells. Patterns are in the limb's own coordinates (along it in millimetres, round it), so they move with the animal. Near limbs get a fine mesh, far ones coarser, the farthest none. The ground darkens softly under the nearest animals.
    • Nematodes are limbs in the glass pass. They're seen through (refracting what's behind), milky, with the gut and the pharynx's bulb inside and light caught along their edges.
    • The inkcaps' veil: woolly white patches and fibrils over a greyer cap, thick on the egg, pulled apart as it opens.
    • The pats are mounds in the ground, in both the ground's vertex shader and the page's sums (so what stands on them stands on them). Their outline is the same lumpy round as their dung, and each pat's map is a layer of a texture array. Old, the ground crusts: greyer, cracked, then the field's floor coming back over it. Between pats lies the field's floor: dead leaf, roots, soil, green in it. The ground's mesh follows the camera.
    • Moss shoots, clover leaves, setae and the dung moss's umbrellas are limbs as well:
      • A moss shoot's leaves are a spiral pattern in its own coordinates. Where its edge would be smooth, it's broken off between the leaves, so it's ragged.
      • A clover leaflet is a broad, flattened limb whose width follows a leaf's outline.
      • Further off, a moss cushion is a velvet tuft.
      • A web is its dew: a few hundred tiny drops along its threads, drawn with a coarse mesh.
    • Grass blades are limbs too: flat ribbons whose width keeps across their bend, however far over they bend. Each has a keel and veins, is paler at the sheath, and has a waxy sheen; the light through it is green-gold. Grazed tips are torn and browning.
    • A thrower's trophocyst: the swollen orange-yellow foot it grows from, half in the dung.
    • The far distance: a haze, warm toward the top, with soft discs of far-off light that drift a little as the view turns. It's always behind everything, so always at full blur.
  2. The glass.
    • The jelly is a cushion, lumpy and wrinkled, refracting what's in it, its colour mostly in the light that comes through. Its skin glistens. Its normal comes from its shape itself, not its mesh's facets, so it stays smooth however close the lens comes.
    • The stalks and asci are tubes along their curves (built in the vertex shader from the same sums as along()). They're glass that bends what's behind and glows with the light through it, or velvet: pale, opaque, a sheen of hairs at the edge.
  3. The droplets. Each is a ball lens: on the stalks, on the jelly, and standing in pools on the ground. The picture behind it is flipped into it, with a dark rim and a glint that blooms.
  4. The throw. The sporangium is drawn where its record has it, and leaves a streak of itself along its flight as a shutter would smear it. For its first few hundredths of a second, the jet of sap follows it, breaking into drops; the vesicle behind it is collapsing.
  5. The light through the day. It follows the clock:
    • Night: cool and dim, as if lamp-lit.
    • Dawn (from five): low and warm, coming from behind them.
    • Morning (by nine): brighter and higher. It always comes from the same side, the side they lean to. The camera opens up a little in the night, but never all the way: night stays night.
  6. The depth of field. Each pixel gathers from a disc as wide as its own blur. It takes a sample only if that sample's own blur reaches it, so blur in front spreads over what's sharp but blur behind doesn't. A filmic tone, a little green in the shadows, a vignette, grain.

The scene is drawn at about half a megapixel, less if the frames come slowly. Rules test: node cells/lab/devtools/fungi.test.mjs.