Sitewright

Moss forest world

A procedural mossy forest glade with layered trunks, light shafts, a moss-capped root arch, swaying ferns and drifting pollen; the variant prop turns it into spring blossoms, autumn leaves or winter snow, and the pointer shifts the layers for parallax.

What it is for

Behind a landing hero, an about page or a nature section (fills its parent, which should be positioned); pick `variant` by season.

Use it

1 · site.json
"effects": { "components": ["moss-forest-world"] }
or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components moss-forest-world
2 · import it
import { MossForestWorld } from '@/components/fx/ui';

Files

  • components/fx/ui/MossForestWorld.tsx
  • components/fx/ui/_tu-three-kit.ts
  • components/fx/ui/_tu-three-forest.ts
  • components/fx/ui/_tu-three-chips.tsx
  • components/fx/ui/_t1.ts
  • ui-moss-forest-world.css styles

Source

Original to Sitewright. MIT licensed.

Credits and licences: third-party notices.

Accessibility

  • Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
  • Reduced motion. With prefers-reduced-motion on, animation settles to its finished state at once.
  • Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.