TODO: log pixelsB64 size-fallback as future pixel-art polish

Co-Authored-By: Claude Opus 4.7 <[email protected]>
This commit is contained in:
thePR0M3TH3ANandClaude Opus 4.7 committed 2026-05-26 14:13:29 -04:00
1 parent 68bc0df145
commit 3b9415e4c4
1 file changed
+11
+11
View File
@@ -55,6 +55,17 @@ toggle that fits the early-web aesthetic. Add new editor-UX items below.
design they had tombstoned with a kind-5, warn that publishing will
republish it.
## Pixel art — future polish
- **`pixelsB64` size-fallback encoder.** The spec calls for each frame
to store whichever is smaller: `pixels` (RLE pairs) or `pixelsB64`
(base64 of the raw `Uint8Array` of indices). Only RLE is implemented
today. For noisy / photo-pixelized content with many palette colours,
base64 is ~5× smaller — a 24-frame 64×64 sprite tested at 785 KB
RLE would drop to ~150 KB. Worth shipping alongside a live event-size
readout in the editor (soft warn at 50% of relay budget, hard block
at 90%) so users see the budget before publish.
## Drafted-but-unbuilt features
Each has a full spec in `docs/`.