GPU-accelerated WebGPU and WebGL2 raymarched volumetric shader orb with real-time lighting.
1. Install Required Packages
npm install typegpu vgpu lucide-react2. CLI Component Add
npx shadcn@latest add @shadercn/orb-31| Prop | Type | Default | Description |
|---|---|---|---|
variant | OrbVariant | orb31Orb | Procedural shader variant definition containing WGSL uniforms and fallbacks. |
state | 'idle' | 'thinking' | 'speaking' | 'idle' | Agent activity state driving fluid velocity, frequency, and glow emission. |
size | number | 340 | Viewport canvas pixel diameter with automatic device pixel ratio scaling. |
interactiveTilt | boolean | true | Enables dynamic cursor 3D perspective orientation and spin velocity. |
volumes | { input?: number; output?: number } | undefined | Live microphone or agent audio amplitude modulating orb surface displacement. |
Don't miss them.


