agent/lib.rs
1//! Agent-related UI, apart from the component library: what a chat client
2//! draws around the model, not the widgets it composes.
3//!
4//! Two pieces. [`orbs`] is the model's working state, animated by its own
5//! clock. [`avatar`] is a face: a silhouette generated from a preset, a name or
6//! [`avatar::Shape::random`], painted in the theme's colors — smooth at any
7//! size, or sampled onto an 8×8 grid by [`mascot`] for a list row.
8//!
9//! ```ignore
10//! agent::avatar(Face::from("Sara").pose(t)).w(px(48.)).h(px(48.))
11//! ```
12
13pub mod avatar;
14pub mod orbs;
15
16pub use avatar::{Face, Pose, avatar, mascot};