component

Bush

Clustered foliage blobs, seeded; the mid-height density between Grass and Trees.

⌖ Explore the library in 3D →

Add it

npx @runek/cli add bush

Pulls @runek/core@^0.13.0, three@^0.184.0.

Use it

import { Bush } from './runek/Bush'

<Bush position={[0, 0, 0]} seed={1} />

Props

export interface BushProps {
  position?: Vec3
  rotation?: Vec3
  /** Overall radius, in units. */
  radius?: number
  /** Number of foliage blobs. */
  blobs?: number
  /** Defaults to the world palette's `foliage` slot. */
  color?: string
  seed?: number
}

Registry manifest

registry manifest /r/components/bush.json Self-contained JSON: inlined source plus resolved dependencies, exactly what runek add bush fetches.

Browse the whole catalog in the gallery →.