Slate Lichen
- Skill Lab
- v0.1.1
- Interactive 3D
A weathered roof slate colonised in real time by four real lichens through a multi-species reaction-diffusion field, so colonies grow until they meet and hold a dark contact line; sow from a spore case, bring rain, scrape the slab and lift a brass hand lens.
Contoh
Slate Lichen roof slate
Contoh berjalan di frame sandbox tanpa akses ke halaman ini.
Jalankan online
Jalankan di sandbox SandBase dan lihat hasil Anda di Lab.
Buka di Lab ↗Apa yang Anda dapatkan
Bring which lichens to sow, where to sow them and how many years pass in a minute. The Skill returns a downloadable Skill and a runnable lichen-slate scene.
Cara kerjanya
- 01
Build the roof slate page
Slate Lichen needs only npm install, which brings in playwright-core for the checks, then npm run build for one bilingual dist/index.html or npm run build:zh for a Chinese-only page from the gable-zh brief. The slate, cracks, lichen crusts, spore case, field sheet and hand lens are all drawn by Canvas 2D code with no image assets and no network requests.
- 02
Grow four species by reaction-diffusion
A coarse grid of about 240 cells on the long side carries two Gray-Scott chemicals, a species id and a colonisation time. Each lichen has its own feed, kill, diffusion and rate in the labyrinth band, so colonies grow as winding lobes. A bare cell is claimed by its strongest living neighbour, chemistry never diffuses across two species, and a moisture field biases growth.
- 03
Sow, rain and check the slab
Open dist/index.html, or add ?lang=zh-CN for Chinese. Pick a species in the spore case and tap to sow it, drag to scatter spores, hold still for the hand lens, and use the field sheet for rain, pace, the scraping blade or a century skip. npm run shoot then checks seeding, growth, claiming, frontiers, rain and scraping in headless Chrome.
FAQ
Which lichens grow in Slate Lichen?
Slate Lichen grows four real species: orange Xanthoria parietina rosettes, grey Parmelia saxatilis lobes with pale ridges, areolate Rhizocarpon geographicum split by black prothallus, and zoned Ochrolechia parella crust with pale-rimmed fruit bodies. Their looks are illustrative rather than botanical illustration, and their growth rates in the scene are not measured from real roofs.
Why do colonies in Slate Lichen stop where they meet?
In Slate Lichen every cell records which species claimed it, and chemistry never diffuses from one species into another. When two colonies grow into each other neither can take the other's cells, so they hold a frontier, and the shader draws a dark contact line along it. Real crustose lichens on stone show similar boundaries where neighbouring thalli meet.
What is Gray-Scott reaction-diffusion in Slate Lichen?
Gray-Scott is a model of two chemicals, one fed in and one that consumes it, spreading at different rates. Slate Lichen runs it per species, with feed and kill values chosen in the labyrinth band, so each colony folds into winding lobes with bare channels. A speckled start and a small kick at each claim keep the centre of a colony filled instead of opening into a ring.
What does the hand lens show in Slate Lichen?
Press and hold still on the slab and Slate Lichen lifts a brass loupe that magnifies 2.6 times. Inside it the stone grain is added at the lens's own pixel scale, cracks are redrawn sharp from their stored polylines and the lichen is re-shaded at sub-pixel positions, so the close-up shows more detail than the base view. Drag while holding to move the lens across the slab.
What do rain, pace and the blade do in Slate Lichen?
The rain switch in Slate Lichen wets the slab and raises the moisture field that biases growth, and the shoot checks confirm it does not slow colonies down. The pace slider runs from 10 to 300 years a minute, Skip 100 yr jumps a century, and Scrape slab sends a blade across the stone that clears every claimed cell it passes.
How does Slate Lichen stay fast enough to animate?
Slate Lichen keeps the expensive parts out of the frame loop. The stone is baked once per resize, and the crust sits on its own canvas split into 32 px tiles. Each frame compares a quick signature of the cells under every tile with the last one painted and repaints only tiles that changed or are still maturing, under a per-frame budget.
Does Slate Lichen work offline and on phones?
Yes. Slate Lichen is a single HTML file that calls no model and makes no network requests, so it needs no key. On narrow screens the field sheet moves across the top and the spore case along the bottom, and tapping, dragging and holding still work by touch. With reduced motion set, the spore puffs and raindrop particles are not drawn.
Lebih Banyak Skills
Semua Skills Interactive 3D →
Resin Diorama
Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

3D Vehicle Worlds
Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

3D Firefly Terrariums
Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Jelly Candy: Fruit Bears
Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

WebGPU Soft-Body Gummy Bears
Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Stone Stars: 3D Miniature Landmark City
Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.

