Expand description
The indexed palette of one rendering (at most 255 colours).
Layout (by construction, so every pixel lands on an entry):
| Indices | Entries |
|---|---|
| 0-7 | background bands (vignette 0-3, warm glow 4-7) |
| 8-55 | ink: band x 6 levels (ink in glow bands is tinted toward the accent) |
| 56-103 | ember particles: band x 6 levels |
| 104.. | sprite colours |
| 255 | reserved (GIF transparency) |
Structs§
Constants§
- EMBER_
BASE - INK_
BASE - LEVELS
- Ink levels per band (glyph alpha x shade, quantised).
- SPRITE_
BASE - TRANSPARENT_
INDEX - Reserved for GIF transparency; never used by a rendered pixel.
Functions§
- ink_
level - Ink level
0..=LEVELSfrom glyph alpha and cell shade (both 0-255).