abstractavatar 0.2.0

Platform-independent procedural activity avatars with optional native/WebAssembly ABI
Documentation
# Troubleshooting

## The native library cannot be loaded

Install the published wheel with `python -m pip install abstractavatar`, or build from source with
Rust 1.87+ and `python -m pip install .`. A source checkout alone does not include a compiled
native library.
Use `library_path` only for a trusted explicit build. See [getting started](getting-started.md).

## A stored avatar draws a different design

The stored id is retired or unknown. It draws its replacement, or `watch-halo` when it has none
(see [retired designs](catalog.md#retired-designs)). Call `retired()` or read `catalog.json` to
find the id and offer a new choice from `ready()`.

## A design is missing from a picker

It is experimental. Pickers list only ready designs (see
[ready and experimental designs](catalog.md#ready-and-experimental-designs)); a stored or explicit
experimental key still renders.

## A descriptor is rejected

Run `python -m abstractavatar catalog` and use a supported stable key. Check schema version,
state, finite numeric values and unknown fields against [the frame contract](frame-contract.md).
Do not pass file paths, URLs or shader code as a descriptor.

## Frames are empty or look stretched

Confirm width/height, tightly packed RGBA channel order and image stride. Keep the intended
aspect ratio; use a transparent image over your UI's background. Verify the palette is populated
when using the low-level C interface. See [API](api.md).

## The renderer refuses another handle

Reuse a renderer across frames and close renderers belonging to disposed views. Galleries
should create only the visible presenters, or render preview images sequentially. Do not keep
one live renderer for every off-screen catalog entry.

## Animation uses CPU while hidden

Stop the host's frame clock when the view is hidden or reduced motion applies. The library has
no background animation thread. A static error/idle picture does not need a continuous redraw.
See [lifetime and scheduling](frame-contract.md#lifetime-and-scheduling).