Skip to content

Visual system

THE PHOS FACE

PHOS’s face is its primary output: a lightweight animated eye renderer on the 800×600 display, optionally complemented by a WS2812B LED ring and environmental overlays.

Use Skins to choose iris colour, supported eye shape, state backgrounds, visual effects, and optional LED theming. Skins define presentation; the expression and behavior paths below retain control of semantic intent.

A persistent baseline, with temporary reactions

The selected persistent visual source is one of manual, environment or PHOS state. It establishes the baseline iris/accent intent. Higher-priority robot states and short IMU events such as tilt, shake and impact temporarily override that intent. They never overwrite saved base configuration; when the effect ends, PHOS restores the resolved persistent state.

Eye expressions

The manually selectable expressions are neutral, happy, curious, surprised, sad, angry, focused, tired, confused, scared and skeptical. They are semantic FaceExpression values, independent of RobotState; selecting one persists until explicitly replaced. Their canonical profiles control shared eye geometry, so live Tk rendering and Appearance Preview remain aligned. All profiles use the configured iris color, including custom #RRGGBB colors. HAPPY's blue and SURPRISED's yellow eye-body accents are intentional exceptions rather than a generic emotion-color mapping: eye geometry carries the expression. FURIOUS and expression intensity are not implemented.

Visual output paths

  • Eyes: EyeRenderer applies FaceState expression, gaze, blink, semantic accent and the named base iris theme.
  • LED ring: the ESP32 drives the optional WS2812B ring from phos-hw v1 semantic commands. SemanticLedService resolves robot-state, environmental, and temporary user signals; LED output requires an active serial controller session with advertised LED capability.
  • Overlays: independently confirmed environmental markers—sweat, snow/ice and haze—decorate a safe band without changing eye geometry or pupils.

Transient semantic notices

PHOS can also present a compact, non-interactive semantic notice near the bottom of the face display. Application callers submit a bounded meaning and optional plain-text message; PHOS owns its visual treatment and expiry. Notices do not change RobotState or FaceState, do not expose renderer controls, and are not a public Remote API. They render below the protected local Admin QR and recovery-code layers, which continue to consume their existing touch gestures.

The detailed contracts are maintained in the architecture reference and 1.1.0 release record.