Animated 3D canvas thinking orbs for AI agents with full color customization support!
An enhanced, color-aware version of thinking-orbs. Supports native color customization via HEX, RGB, HSL, or preset names while preserving full 3D particle depth, shading, and lighting animations.
- Color Engine Injection: We successfully injected a dynamic RGB color engine into the minified WebGL context to perfectly preserve orb depth and shading.
- Dynamic React Props: The
colorprop is fully threaded through the render tree so you can dynamically switch colors at runtime in React without unmounting. - Interactive Palette: Built-in parsers let you pass any HEX string, named color, RGB, or HSL value directly to the component.
- Light Mode UI: The demo site includes a clean new visual playground to test real-time color syncing.
npm install thinking-orbs-colored react react-domimport { ThinkingOrb } from 'thinking-orbs-colored';
function Status() {
return (
<ThinkingOrb
state="composing"
size={64}
color="#4f46e5"
theme="light"
/>
);
}<div id="orb-container"></div>
<script src="path/to/thinking-orb-bundle.js"></script>
<script>
window.renderThinkingOrb('orb-container', 'composing', 64, 'light', 'purple');
</script>You can pass any of the following to the color prop:
| Type | Examples | Description |
|---|---|---|
| Named Presets | "purple", "emerald", "indigo", "blue", "cyan", "amber", "rose", "violet" |
Vibrant pre-tuned brand colors |
| HEX Codes | "#4f46e5", "#10b981", "#ef4444", "#f59e0b" |
Any standard 3-digit or 6-digit hex string |
| HSL Strings | "hsl(243, 75%, 50%)" |
Direct HSL control |
| RGB Strings | "rgb(79, 70, 229)" |
Standard RGB format |
| Monochrome | "monochrome", "grayscale" |
Standard black & white orb |
| Prop | Type | Default | Description |
|---|---|---|---|
state |
"working" | "searching" | "solving" | "listening" | "composing" | "shaping" |
"working" |
Animation verb |
size |
64 | 20 |
64 |
tuned scale preset (64 for avatar scale, 20 for inline) |
color |
string |
"purple" |
Color hex, preset, HSL, or RGB string |
theme |
"auto" | "dark" | "light" |
"auto" |
Canvas background contrast theme |
speed |
number |
1 |
Animation speed multiplier |
paused |
boolean |
false |
Pause or resume animation |