2D canvas + 3D rendering for loft (Canvas pixel surface, Mesh / Scene / glTF, OpenGL bindings).
loft install graphics
use graphics;
| Guide | getting started with graphics |
|---|---|
| Version | 0.9.12 — published 2026-10-08 |
| Categories | Graphics and 3D |
| Requires | loft >=2026.10.0 |
| Compatibility | API: drop-in for 0.4.2 and later · stored data: drop-in for 0.4.2 and later |
| Download | 215 kB |
| Public API | 139 items, with their documentation |
| Dependencies | glb · mesh3d |
| Used by | audio_bus · 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.