feat/figment: periodic SVG glyph overlays with CLI flag #34
Reference in New Issue
Block a user
Delete Branch "feat/figment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--figmentand--figment-interval NCLI flags so figment mode no longer requires code changes to enableuv rundirectly (setsDYLD_LIBRARY_PATHbefore cairosvg import)Architecture
engine/figment_render.py— SVG → cairosvg → PIL → greyscale → half-block rasterizer with LRU cacheengine/figment_trigger.py—FigmentTriggerprotocol +FigmentAction/FigmentCommandtypes for extensible input sourceseffects_plugins/figment.py—FigmentEffectstate machine (REVEAL → HOLD → DISSOLVE → IDLE), timer-based auto-trigger, random SVG/theme selectionengine/layers.py—render_figment_overlay()renders ANSI cursor-positioned overlay between effects chain and ntfy message layerfigments/— bundled Mayan and Aztec SVG glyph assetsTest plan
uv sync --extra figment && brew install cairothenuv run mainline.py --figment --figment-interval 10uv run pytestpasses (figment tests auto-skip if Cairo not installed)--figmentshows no figment activity🤖 Generated with Claude Code
509cee6312toa25b80d4a6