For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
163
Sponsor

ORB-29

An LED tile wall lighting up in flowing blobs, wrapped on the ball

Installation

$ pnpm dlx shadcn@latest add @shadercn/orb-29

Usage

import { Orb29 } from "@/components/orbs/orb-29";
<Orb29 size={280} state="idle" />

Props

Component Props

PropTypeDefaultDescription
state"idle" | "thinking" | "speaking""idle"Drive preset the orb eases toward
sizenumber280Rendered size in CSS pixels
paramsPartial<Record<string, number>>-Shader param overrides, see Shader Props
colorsPartial<Record<string, string>>-Shader colour overrides as hex strings
statePresetsPartial<Record<OrbState, Record<string, number>>>-Replace the built-in per-state param presets
stateColorsPartial<Record<OrbState, Record<string, string>>>-Replace the built-in per-state colours
stateVolumesPartial<Record<OrbState, { input?: number; output?: number }>>-Pin the drive volumes a state settles on
volumes{ input?: number; output?: number }-Drive the orb directly, bypassing synthesis
pausedbooleanfalseFreeze the frame loop
pauseOffscreenbooleantrueStop rendering while scrolled out of view
maxDprnumber2Upper bound on the device pixel ratio
classNamestring-Class on the wrapper element
styleCSSProperties-Inline style on the wrapper element
ariaLabelstring-Accessible name for the canvas

Shader Props

Pass any of these through params; each is a single f32 uniform read by the shader.

ParamLabelRangeStepDefault
driftDrift0 – 100.050.45
churnChurn0 – 100.050.5
swirlFluidity0 – 30.0151.2
shuffleShuffle0 – 200.10.6
pulsePulse depth0 – 20.010
spinRoll0 – 50.030.1
radiusRadius0.15 – 30.0150.9
cellsTile grid16 – 160248
scaleBlob scale0.3 – 100.11.3
coverageCoverage0 – 1.20.010.52
confettiConfetti0 – 10.010.22
lightKey light0 – 30.0150.6
gainPanel gain0.05 – 50.051
contrastContrast0.15 – 100.051

Colours are passed through colors as hex strings.

ColourLabelDefault
litLit tile#fff2dd
wallWall#161616

Credits

Based on original work by XorDev.