Herbarium Study
Web (React)
An ink-and-paper botanical plate in Three.js where line-drawn ferns and seed heads grow while seed fluff drifts past.
A Three.js scene drawn like a botanical study: ferns unfurl stroke by stroke from three clumps on a plate of contour rings, seed heads open on tall stalks and seed fluff drifts across on the wind. It enters with a slow ink-bleed reveal and a calm orbiting camera that leans toward the pointer. Every line takes its colour from the theme — ink on paper in light mode, pale strokes under a dusk glow in dark mode — and follows palette changes live. It fills its positioned parent, pauses when off screen or when the tab is hidden, and renders a still, fully grown frame when the user prefers reduced motion.
Plate IV · Polypodiales
Installation
CLI
npx @modus-ui/cli add herbarium-studyManual
- Install
three. - Copy the code from the component tab.
- Create a file at
components/ui/herbarium-study.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
fronds | number | 18 | Number of fern fronds drawn around the plate. |
speed | number | 1 | Multiplier for the orbit, growth and seed drift. |
label | string | "Ink-drawn ferns and seed heads growing on a paper plate while seed fluff drifts past" | Accessible label for the scene. |
Comments