A 2D canvas, windows, drawing on the GPU and text for loft (meshes and glTF are mesh3d and glb)
loft install graphics
use graphics;
| Guide | getting started with graphics |
|---|---|
| Version | 0.14.6 — published 2026-12-03 |
| Categories | Graphics and 3D |
| Requires | loft >=2026.11.20261113 |
| Compatibility | API: drop-in for 0.14.1 and later · stored data: drop-in for 0.14.1 and later |
| Download | 211 kB |
| Public API | 123 items, with their documentation |
| Dependencies | glb · gpu · gpu_gl · gpu_host · imaging · mesh3d |
| Used by | drawing · input · stage · text2d |
| Source | read it here — the libraries are written in loft |
| Repository | https://github.com/loft-lang/loft-libs-graphics/tree/main/graphics |
A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.