Tree of life
The specimen is the ancestor. Its parameters drift down each branch; lineages split and die out. Each column or ring is one split. Tap a mushroom or a branch to follow its lineage; drag to pan a large tree.
A lock keeps a field when you randomise, mutate or roll a group. A form button sets every field.
Each specimen is a set of pen lines made from a form and a seed. The same form, seed and edits always give the same drawing. The Latin name comes from the seed, through syllable tables of our own.
The cap is a surface of revolution on a bent stem. Its outline (the meridian) is a superellipse from the apex to the rim, with an umbo, a central dip, an upturned or inrolled margin, and an underside back to the stem. The age slider moves a cap from button to convex to plane to upturned. A camera at height e projects a cap point at height h, radius r and angle φ to
so from below (e < 0) the rim is a full ellipse and the gills, pores, teeth or ridges show.
The tree of life grows made-up fungi from the specimen. Each lineage splits at rate λ and dies out at rate μ; along a branch of length Δt each parameter takes a random step
with a size σ per group: colour and surface marks change fast, the gills and pores slowly. Names follow the seed, and a clade keeps its genus until it has drifted far from the founder; family names end in -aceae.
Hidden lines are removed in the engine. Each line point of the cap is tested by a ray march toward the camera, and every line is cut where a part drawn after it covers it. The SVG holds only visible strokes, ready for a pen plotter.
The page is our own code, made in the spirit of two programs by Lingdong Huang: fishdraw (fish as noise-wobbled pen lines with hatching and clipped parts) and shan-shui-inf (Chinese landscape painting with brush strokes of varying width and light washes). Both have pages on this site. No code of theirs is used here.
The forms are shapes of real mushroom groups, for drawing only. This is not a field guide: never eat a wild mushroom on the strength of a picture.