component
Campfire
Stone ring, a tepee of logs, and an animated flame with a warm flickering light.
Add it
npx @runek/cli add campfire
Pulls @react-three/fiber@^9.6.1, @runek/core@^0.13.0, three@^0.184.0.
Use it
import { Campfire } from './runek/Campfire'
<Campfire position={[0, 0, 0]} seed={1} />
Props
export interface CampfireProps {
position?: Vec3
rotation?: Vec3
radius?: number
/** Log color; defaults to the world palette's `wood` slot. */
logColor?: string
flameColor?: string
intensity?: number
seed?: number
}
Registry manifest
registry manifest /r/components/campfire.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add campfire fetches.
Browse the whole catalog in the gallery →.