Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(orb): convert the voice orb's procedural material to a grey ramp

rubenluetke10-beepb93e7a5b41a9
diff --git a/jarvis/ui/web/frontend/src/components/agentic/VoiceOrb.tsx b/jarvis/ui/web/frontend/src/components/agentic/VoiceOrb.tsx
index 8529518460..ebb982a1bb 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/VoiceOrb.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/VoiceOrb.tsx
@@ -3,7 +3,7 @@
*
* The visual target is a luminous, cloud-filled presence rather than a glossy
* gradient ball. A low-resolution fractal field is color-mapped through the
- * product's ivory, gold and amber palette, then enlarged with interpolation.
+ * product's monochrome ramp, then enlarged with interpolation.
* That deliberate softness creates organic depth without visible bands,
* outlines, rotating particles or image assets.
*
@@ -28,14 +28,14 @@ interface Motion {
breathHz: number;
/** Strength of the domain-warped cloud shapes. */
turbulence: number;
- /** Brightness of the cream cloud highlights. */
+ /** Brightness of the pale cloud highlights. */
energy: number;
/** Strength of the assistant-speech envelope. */
voiceImpact: number;
/**
* How far the cloud field may drag the COLOUR ramp out of its vertical
* order. At rest it only softens the horizon; while thinking it is what
- * makes ivory, gold and amber visibly churn through each other instead of
+ * makes the grey stops visibly churn through each other instead of
* sitting in bands. Kept in step with the desktop twin (`ui/orb/voice_orb.py`).
*/
colorChurn: number;
@@ -135,12 +135,12 @@ const LEVEL_SWELL = 0.1;
type Rgb = readonly [number, number, number];
-const IVORY: Rgb = [255, 250, 235];
-const PALE_GOLD: Rgb = [248, 226, 151];
-const SIGNAL_GOLD: Rgb = [231, 196, 110];
-const AMBER: Rgb = [210, 147, 24];
-const DEEP_AMBER: Rgb = [126, 66, 2];
-const CLOUD_LIGHT: Rgb = [255, 249, 216];
+const CREST: Rgb = [250, 250, 250];
+const UPPER: Rgb = [225, 225, 225];
+const MID: Rgb = [197, 197, 197];
+const LOWER: Rgb = [152, 152, 152];
+const BASE: Rgb = [74, 74, 74];
+const CLOUD: Rgb = [248, 248, 248];
// 48² pixels at 20 fps keeps this decorative renderer near 553k value-noise
// samples per second, leaving the main thread available for terminal streaming.
const TEXTURE_SIZE = 48;
@@ -257,7 +257,7 @@ function paintWeather(
);
const weather = cloudField * 0.76 + detail * 0.24;
- // Where a pixel sits on the ivory→amber ramp. Warping it by the cloud
+ // Where a pixel sits on the crest→base ramp. Warping it by the cloud
// field removes the synthetic horizon band at rest; opening the warp up
// makes the palette visibly MIX rather than sit in stripes.
const vertical = clamp((ny + 1) * 0.5 + (weather - 0.5) * churn + drift);
@@ -265,20 +265,20 @@ function paintWeather(
let end: Rgb;
let paletteMix: number;
if (vertical < 0.22) {
- start = IVORY;
- end = PALE_GOLD;
+ start = CREST;
+ end = UPPER;
paletteMix = vertical / 0.22;
} else if (vertical < 0.5) {
- start = PALE_GOLD;
- end = SIGNAL_GOLD;
+ start = UPPER;
+ end = MID;
paletteMix = (vertical - 0.22) / 0.28;
} else if (vertical < 0.76) {
- start = SIGNAL_GOLD;
- end = AMBER;
+ start = MID;
+ end = LOWER;
paletteMix = (vertical - 0.5) / 0.26;
} else {
- start = AMBER;
- end = DEEP_AMBER;
+ start = LOWER;
+ end = BASE;
paletteMix = (vertical - 0.76) / 0.24;
}
let red = mix(start[0], end[0], paletteMix);
@@ -287,23 +287,23 @@ function paintWeather(
const shadow =
smoothstep(0.48, 0.66, 1 - weather) * smoothstep(0.28, 0.95, vertical) * 0.18;
- red = mix(red, DEEP_AMBER[0], shadow);
- green = mix(green, DEEP_AMBER[1], shadow);
- blue = mix(blue, DEEP_AMBER[2], shadow);
+ red = mix(red, BASE[0], shadow);
+ green = mix(green, BASE[1], shadow);
+ blue = mix(blue, BASE[2], shadow);
- // Large cream masses form the soft, irregular clouds visible in the target.
+ // Large pale masses form the soft, irregular clouds visible in the target.
const cloud = smoothstep(0.46, 0.64, weather) * (1 - vertical * 0.32);
const cloudMix = cloud * 0.78 * motion.energy;
- red = mix(red, CLOUD_LIGHT[0], cloudMix);
- green = mix(green, CLOUD_LIGHT[1], cloudMix);
- blue = mix(blue, CLOUD_LIGHT[2], cloudMix);
+ red = mix(red, CLOUD[0], cloudMix);
+ green = mix(green, CLOUD[1], cloudMix);
+ blue = mix(blue, CLOUD[2], cloudMix);
// A second, quieter field breaks up any remaining uniform areas.
const shimmer = smoothstep(0.58, 0.76, warpX * 0.55 + detail * 0.45);
const shimmerMix = shimmer * 0.24 * motion.energy;
- red = mix(red, PALE_GOLD[0], shimmerMix);
- green = mix(green, PALE_GOLD[1], shimmerMix);
- blue = mix(blue, PALE_GOLD[2], shimmerMix);
+ red = mix(red, UPPER[0], shimmerMix);
+ green = mix(green, UPPER[1], shimmerMix);
+ blue = mix(blue, UPPER[2], shimmerMix);
// Restrained spherical shading, with no dark outline or glossy rim.
const radius = Math.sqrt(nx * nx + ny * ny);
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
index 3634bf5b7a..3ddbc2631a 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
@@ -13,7 +13,7 @@ import { cn } from "@/lib/utils";
* the corners.
*
* The middle is Gigi itself (`JarvisOrb`), moved by the real voice state,
- * with a soft gold glow throwing the dark silhouette forward. It was a PNG
+ * with a soft accent glow throwing the dark silhouette forward. It was a PNG
* of a glowing sphere until 2026-08-20; the maintainer had asked repeatedly
* for that picture to go and for the mascot to carry the product, and the
* picture had earned it — its baked-in white halo read as a grey box on the
@@ -280,7 +280,7 @@ export function DeckOrb({
/**
* The orb — the part of the centre a press lands on.
*
- * Back to front: a soft gold glow wider than the sphere (`.deck-orb-glow`,
+ * Back to front: a soft accent glow wider than the sphere (`.deck-orb-glow`,
* keyed on the voice state), then the mascot itself (`JarvisOrb`).
*/
function OrbFace({ voiceState, orbSize }: { voiceState: VoiceState; orbSize: number }) {
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckReveal.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckReveal.tsx
index 7a04c81454..1f6071a1ec 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckReveal.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckReveal.tsx
@@ -29,7 +29,7 @@ import { cn } from "@/lib/utils";
* corners;
* 2. a beat later the card MOUNTS and its content wipes in AWAY from the
* orb — the centre column top-down, the left cards from their right
- * edge, the right cards from their left (`revealWipeFor`) — with a gold
+ * edge, the right cards from their left (`revealWipeFor`) — with an accent
* scan bar riding the front and a two-frame flicker, the way a hologram
* settles;
* 3. the wipe lands with a lock flash, and the ghost frame fades once the
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
index 7b27a55811..14b9d16f0e 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
@@ -233,7 +233,7 @@ export function DeckStandby({
>
<HudFrameOverlay variant="bracket" w={stage.w} h={stage.h} live />
- {/* The launch: the whole stage flashes gold for a blink (CSS, on leaving). */}
+ {/* The launch: the whole stage flashes with the accent for a blink (CSS, on leaving). */}
<div aria-hidden className="deck-launch-flash pointer-events-none absolute inset-0 bg-primary" />
{/* The instrument: the ring with the orb in it, centred on the stage. */}
@@ -452,7 +452,7 @@ function BootTitle({ text, animate }: { text: string; animate: boolean }) {
* Bezel, tick scale, the four gate arcs at the compass points (dashed while
* pending, drawn solid when true, dim and short when honestly off), the
* sweep while the wake word is being listened for, and the one-shot ping.
- * All strokes are theme gold under the HUD halo so they read on any
+ * All strokes are the theme accent under the HUD halo so they read on any
* wallpaper in either appearance.
*/
function StandbyRing({
diff --git a/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx b/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx
index bda500dc17..a9938a0bc6 100644
--- a/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx
@@ -16,7 +16,7 @@ import { cn } from "@/lib/utils";
* scrolling streams (the reasoning trace, terminals).
*
* All of it is ONE SVG overlay drawn from the measured size, so the strokes
- * stay hairlines at any width, take their colour from theme tokens (gold on
+ * stay hairlines at any width, take their colour from theme tokens (the accent on
* both grounds), and never hide the artwork behind the card. Nothing here is
* decorative for its own sake: the tick rulers give the eye a scale, the
* corner brackets say "this is a bounded instrument", the lamp says whether
@@ -48,7 +48,7 @@ export function useElementSize<T extends HTMLElement>(): [RefObject<T>, { w: num
/**
* A soft halo in the theme's own ground colour under every HUD stroke — the
- * SVG twin of the stage's text-shadow readability floor. Gold hairlines on a
+ * SVG twin of the stage's text-shadow readability floor. Accent hairlines on a
* light theme over a dark picture (or the reverse) would otherwise vanish;
* with the halo they read on any wallpaper in either appearance.
*/
diff --git a/ui/orb/voice_orb.py b/ui/orb/voice_orb.py
index 4ebdc758a6..8c35aa25ad 100644
--- a/ui/orb/voice_orb.py
+++ b/ui/orb/voice_orb.py
@@ -3,7 +3,7 @@
This is the desktop twin of the in-app orb (``components/agentic/VoiceOrb.tsx``):
a luminous, cloud-filled sphere made of softly evolving procedural weather
rather than a glossy gradient ball. A low-resolution fractal field is colour
-mapped through the product's ivory / gold / amber palette and enlarged with
+mapped through the product's monochrome ramp and enlarged with
interpolation, which is what produces organic depth without visible bands,
outlines, rotating particles or image assets. Voice states change pace,
breathing, turbulence and highlight energy; the colour identity stays stable.
@@ -38,12 +38,12 @@ import numpy as np
from PIL import Image
# --- Palette (identical to the in-app orb) ---------------------------------
-IVORY = (255.0, 250.0, 235.0)
-PALE_GOLD = (248.0, 226.0, 151.0)
-SIGNAL_GOLD = (231.0, 196.0, 110.0)
-AMBER = (210.0, 147.0, 24.0)
-DEEP_AMBER = (126.0, 66.0, 2.0)
-CLOUD_LIGHT = (255.0, 249.0, 216.0)
+CREST = (250.0, 250.0, 250.0)
+UPPER = (225.0, 225.0, 225.0)
+MID = (197.0, 197.0, 197.0)
+LOWER = (152.0, 152.0, 152.0)
+BASE = (74.0, 74.0, 74.0)
+CLOUD = (248.0, 248.0, 248.0)
#: Field resolution. 48² samples is what keeps the whole renderer affordable
#: next to speech; the sphere gets its softness from the upscale, not from
@@ -89,7 +89,7 @@ class Motion:
self.voice_impact = voice_impact
#: How far the cloud field is allowed to drag the COLOUR ramp out of
#: its vertical order. At rest it only softens the horizon; while
- #: thinking it is what makes the ivory, gold and amber visibly churn
+ #: thinking it is what makes the grey stops visibly churn
#: through each other instead of sitting in bands.
self.color_churn = color_churn
@@ -122,7 +122,7 @@ MOTIONS: dict[str, Motion] = {
"listen": Motion(0.11, 0.035, 0.016, 0.72, 1.02, 0.98, 0.0, 0.34),
# Thinking is the one state with nothing to hear, so it has to be the most
# visibly BUSY: the field races, and the colour ramp churns hard enough
- # that ivory, gold and amber run through each other (maintainer, 2026-08-06
+ # that the grey stops run through each other (maintainer, 2026-08-06
# — "the colours mix and that is how it shows it is thinking").
"think": Motion(0.95, -0.44, 0.010, 0.34, 1.85, 1.08, 0.0, 1.45),
"speak": Motion(0.34, 0.085, 0.014, 0.82, 1.06, 1.0, 0.11, 0.45),
@@ -463,7 +463,7 @@ class VoiceOrbRenderer:
)
weather = cloud_field * 0.76 + detail * 0.24
- # Where a pixel sits on the ivory→amber ramp. Warping it by the cloud
+ # Where a pixel sits on the crest→base ramp. Warping it by the cloud
# field removes the synthetic horizon band at rest; opening the warp up
# (``color_churn``) is what makes the palette visibly MIX rather than
# sit in stripes, and the slow drift keeps that mixing in motion so a
@@ -474,23 +474,23 @@ class VoiceOrbRenderer:
red, green, blue = self._palette(vertical)
shadow = _smoothstep(0.48, 0.66, 1.0 - weather) * _smoothstep(0.28, 0.95, vertical) * 0.18
- red = _mix(red, DEEP_AMBER[0], shadow)
- green = _mix(green, DEEP_AMBER[1], shadow)
- blue = _mix(blue, DEEP_AMBER[2], shadow)
+ red = _mix(red, BASE[0], shadow)
+ green = _mix(green, BASE[1], shadow)
+ blue = _mix(blue, BASE[2], shadow)
- # Large cream masses form the soft, irregular clouds.
+ # Large pale masses form the soft, irregular clouds.
cloud = _smoothstep(0.46, 0.64, weather) * (1.0 - vertical * 0.32)
cloud_mix = cloud * 0.78 * motion.energy
- red = _mix(red, CLOUD_LIGHT[0], cloud_mix)
- green = _mix(green, CLOUD_LIGHT[1], cloud_mix)
- blue = _mix(blue, CLOUD_LIGHT[2], cloud_mix)
+ red = _mix(red, CLOUD[0], cloud_mix)
+ green = _mix(green, CLOUD[1], cloud_mix)
+ blue = _mix(blue, CLOUD[2], cloud_mix)
# A second, quieter field breaks up any remaining uniform areas.
shimmer = _smoothstep(0.58, 0.76, warp_x * 0.55 + detail * 0.45)
shimmer_mix = shimmer * 0.24 * motion.energy
- red = _mix(red, PALE_GOLD[0], shimmer_mix)
- green = _mix(green, PALE_GOLD[1], shimmer_mix)
- blue = _mix(blue, PALE_GOLD[2], shimmer_mix)
+ red = _mix(red, UPPER[0], shimmer_mix)
+ green = _mix(green, UPPER[1], shimmer_mix)
+ blue = _mix(blue, UPPER[2], shimmer_mix)
# Restrained spherical shading, with no dark outline or glossy rim.
edge_shade = _smoothstep(0.7, 1.0, self._radius_field) * 0.1
@@ -508,12 +508,12 @@ class VoiceOrbRenderer:
@staticmethod
def _palette(vertical: np.ndarray):
- """Four-stop vertical ramp: ivory → pale gold → signal gold → amber → deep."""
+ """Four-stop vertical ramp: crest → upper → mid → lower → base."""
stops = (
- (0.0, 0.22, IVORY, PALE_GOLD),
- (0.22, 0.5, PALE_GOLD, SIGNAL_GOLD),
- (0.5, 0.76, SIGNAL_GOLD, AMBER),
- (0.76, 1.0, AMBER, DEEP_AMBER),
+ (0.0, 0.22, CREST, UPPER),
+ (0.22, 0.5, UPPER, MID),
+ (0.5, 0.76, MID, LOWER),
+ (0.76, 1.0, LOWER, BASE),
)
red = np.empty_like(vertical)
green = np.empty_like(vertical)
@@ -602,11 +602,11 @@ class VoiceOrbRenderer:
layer[..., 1] = self._color_key[1]
layer[..., 2] = self._color_key[2]
# Surviving pixels still carry a little of the falloff in their colour,
- # so the thin outer reaches read as embers rather than as gold confetti.
+ # so the thin outer reaches read as embers rather than as bright confetti.
amount = np.clip(strength[visible] / max(_AURA_MAX, 1e-6), 0.35, 1.0)
- layer[visible, 0] = (AMBER[0] + (SIGNAL_GOLD[0] - AMBER[0]) * amount).astype(np.uint8)
- layer[visible, 1] = (AMBER[1] + (SIGNAL_GOLD[1] - AMBER[1]) * amount).astype(np.uint8)
- layer[visible, 2] = (AMBER[2] + (SIGNAL_GOLD[2] - AMBER[2]) * amount).astype(np.uint8)
+ layer[visible, 0] = (LOWER[0] + (MID[0] - LOWER[0]) * amount).astype(np.uint8)
+ layer[visible, 1] = (LOWER[1] + (MID[1] - LOWER[1]) * amount).astype(np.uint8)
+ layer[visible, 2] = (LOWER[2] + (MID[2] - LOWER[2]) * amount).astype(np.uint8)
return layer
def _compose(self, texture: Image.Image, radius: float, energy: float = 0.0) -> Image.Image: