term.gfx

index · term

Overview

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.

Submodules

ModuleDescription
term.gfx.canvasPixel canvas — an ergonomic Lua wrapper over the C term.gfx_core surface.
term.gfx.displayOn-screen display — a double-buffered placement of a canvas in the terminal.
term.gfx.drm_displayDRM console display — a placement of a canvas on a DRM/KMS device.
term.gfx.fontPixel-art text — render strings as scaled bitmap glyphs onto a canvas.
term.gfx.font_defaultDefault 5x7 monochrome pixel font for term.gfx.font.
term.gfx.loopFrame loop — a fixed-timestep animation/game loop on the LEV runtime.
term.gfx.protoKitty 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.spriteSprites — blit sources for the canvas.