Expand description
Terminal rendering.
Two renderers live here and they share one walk. queue_row writes a whole
row of the reveal, honouring display width, run-length colour, colour depth,
and a column budget; the live loader draws every frame through it. Reveal
is the diffing session for frame-by-frame control: it makes the same per-cell
decision via crate::frame::cell but repaints only the cells that moved, in
practice the frontier band plus whatever ink just settled.
The glowing frontier is not an effect bolted on; it falls out of the model. A
cell feather rank-units behind progress is at the frontier; one further
behind has settled. Colour is interpolated across that band, so the bright
“head” of the reveal slides along the spine for free.
Re-exports§
pub use crate::frame::art_cols;pub use crate::width::glyph_cols as display_cols;pub use crate::width::truncate_to_cols;
Structs§
Enums§
- Color
Depth - How many colours the output can carry.
- Fg
- A foreground colour, resolved to whatever the terminal can show.
- Palette
- How revealed ink is coloured.
Functions§
- animate
- Animate the reveal of
artoverduration, driven byeasing.