Modules
Draws pixel rasters to a terminal over whichever graphics protocol it supports.
Renders a raster as braille characters, for terminals with no graphics protocol at all.
Renders a raster with iTerm2's inline-image protocol, as a base64 PNG in an OSC 1337 sequence.
Renders a raster with the kitty graphics protocol, as raw RGBA (f=32) in APC sequences.
Renders a raster as a sixel image, a palette-indexed DCS sequence.
Chooses a graphics protocol from the environment and maps it to a backend module.
Plots a series of numbers as a line or filled-area chart on a FrenchCurve.Raster.
Smooths a path of control points into a dense curve and rounds points to pixels.
Rasterises lines, rectangles and circles into a FrenchCurve.Raster.
Converts between terminal cells and pixels.
Encodes raw RGBA pixels as a PNG.
A fixed-size RGBA pixel buffer, the value every drawing and backend function operates on.
A raster that is drawn many times, uploaded once where the protocol allows it.
Remembers which sprite ids have been uploaded, so a render loop uploads each one once.