tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 229TOML 101Markdown 82Shell 24052 Definitions

⎇ 168cd187519c0ad575d3ce63baee2f164c38d9d1 widgets/avatar/README.md Markdown · 16 lines · 637 B History raw

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1# llimphi-widget-avatar
2
3Identity circle with an initial.
4
5Generates a **deterministic** avatar from a name: the background colour comes
6from a hash of the name, mapped onto a limited palette of 8 tones (so two
7different users don't end up with colours that are easy to confuse). The initial
8is the first letter of the name (uppercased), painted centred in warm white.
9
10Useful for chats (suilad), authorship in pluma, presence in collaborative tools.
11A single function — no state, no animation, no configurable palette (consistency
12matters more than personalization here).
13
14---
15
16Part of **llimphi** — see [llimphi](../../README.md).

README.md

llimphi-widget-avatar

Identity circle with an initial.

Generates a deterministic avatar from a name: the background colour comes from a hash of the name, mapped onto a limited palette of 8 tones (so two different users don't end up with colours that are easy to confuse). The initial is the first letter of the name (uppercased), painted centred in warm white.

Useful for chats (suilad), authorship in pluma, presence in collaborative tools. A single function — no state, no animation, no configurable palette (consistency matters more than personalization here).


Part of llimphi — see llimphi.