component
Flowers
Instanced seeded wildflowers (stem + colored head) scattered over a patch.
Add it
npx @runek/cli add flowers
Pulls @runek/core@^0.13.0, three@^0.184.0.
Use it
import { Flowers } from './runek/Flowers'
<Flowers position={[0, 0, 0]} seed={1} />
Props
export interface FlowersProps {
position?: Vec3
rotation?: Vec3
/** Patch extent `[width, depth]`, in units. */
area?: [number, number]
count?: number
height?: number
/** Stem color; defaults to the world palette's `foliage` slot. */
stemColor?: string
seed?: number
}
Registry manifest
registry manifest /r/components/flowers.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add flowers fetches.
Browse the whole catalog in the gallery →.