Graphics engine built for Kitty terminal graphics protocol/DRM.
Provides protocol, pixel canvas, sprites, pixel fonts, an on-screen display, and a frame loop; plus a DRM/KMS console display sharing the same canvas and display contract.
This module is the public aggregator. The implementation lives in submodules.
| Module | Description |
|---|---|
| term.gfx.canvas | Pixel canvas — an ergonomic Lua wrapper over the C term.gfx_core surface. |
| term.gfx.display | On-screen display — a double-buffered placement of a canvas in the terminal. |
| term.gfx.drm_display | DRM console display — a placement of a canvas on a DRM/KMS device. |
| term.gfx.font | Pixel-art text — render strings as scaled bitmap glyphs onto a canvas. |
| term.gfx.font_default | Default 5x7 monochrome pixel font for term.gfx.font. |
| term.gfx.loop | Frame loop — a fixed-timestep animation/game loop on the LEV runtime. |
| term.gfx.proto | Kitty graphics protocol — the wire layer: building APC command strings and transmitting image data (inline base64 chunks, POSIX shared memory, or file path), plus placement and deletion commands. |
| term.gfx.sprite | Sprites — blit sources for the canvas. |