Skip to content

Commit 589c11c

Browse files
feat(chat): round figures for the four roles of the Teaching-Agent
The pixel robots of teaching, artist, development and learner looked alike. They become figures with a round head, told apart by what they wear and by lightness, also in grey: a mortarboard (teal), a beret and a brush (lilac), horn-rimmed glasses and headphones (slate, green terminal eyes) and a sprout (lime). Shaded like a sphere, they turn up to 35 degrees: pose() moves eyes, mouth and what they wear around the head. Only the stage (40 px and more) moves, one timer for all, never with prefers-reduced-motion. data-mouth and data-state work as before, thinking and waiting show as a badge. Every other agent keeps its pixel robot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5050396 commit 589c11c

3 files changed

Lines changed: 291 additions & 30 deletions

File tree

‎CLAUDE.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,18 @@ The server lives in two files, the agent bridge (`--mcp`) adds a third and a cha
325325
(``/``), the speaker of the bar is the hidden `#autoread` box; globe, folder, home and dock are inline
326326
Lucide SVGs. A green dot marks the current agent. Light or dark is LiaScript's, not the system's: `theme()` reads
327327
`light` of `localStorage.settings` (player and chat app share it) and sets `lia-variant-dark/light` on the shell
328-
and the messages, again on every `storage` event. Every agent is a pixel robot (`avatar.js`, inline SVG, no
329-
library): the 12 x 12 LED matrix of DiceBear's CC0 style Pixelbot, its eyes and mouths copied as cell numbers.
328+
and the messages, again on every `storage` event. The faces are inline SVG of `avatar.js`, no library.
329+
The four roles of the Teaching-Agent are figures with a round head (`FIGURES`, design canvas "Agenten-Avatare"),
330+
told apart by what they wear and by lightness, also in grey: `teaching` a mortarboard (teal), `artist` a beret
331+
and brush (lilac), `development` horn-rimmed glasses and headphones (slate, green terminal eyes), `learner` a
332+
sprout (lime). Shaded like a sphere, they turn up to 35° (`pose()` moves the parts marked `data-p` around the
333+
head); only a figure of 40 px or more (the stage) moves, one timer for all (`animate()`): slowly while idle,
334+
towards the upper right while thinking, a sway while reading aloud, never with `prefers-reduced-motion`. A
335+
figure shows thinking and waiting as a badge (`.think`, `.wait`). Every other agent is a pixel robot: the
336+
12 x 12 LED matrix of DiceBear's CC0 style Pixelbot, its eyes and mouths copied as cell numbers.
330337
`Avatar.role()` takes the role from the name (`teaching`, `artist`, `learner`, `development`, `reviewer`,
331338
`translator`, `research`, or a word of the name in `ALIASES`), else from the emoji (`EMOJI`), else LED colour,
332-
case and eyes come from a hash of the name; a role adds its symbol in the three rows above the eyes. The
339+
case and eyes come from a hash of the name; a robot's role adds its symbol in the three rows above the eyes. The
333340
button shows robot and name of the current agent, a row of robots in the bar (`#agents`) appears with two or
334341
more agents, and every message ends in a footer with the read-aloud button and `robot label HH:MM` (arrival time, the label
335342
visible because a tooltip is out of reach on a tablet).

0 commit comments

Comments
 (0)