shapes

2D geometry primitives — Rect, Circle, overlap tests, clamp. Pure-loft, no other deps.

loft install shapes
use shapes;
Guidegetting started with shapes
Version0.5.4 — published 2026-10-06
CategoriesGeometry
Requiresloft >=2026.8.0
CompatibilityAPI: drop-in for 0.3.0 and later · stored data: drop-in for 0.3.0 and later
Download13 kB
Public API16 items, with their documentation
Dependenciesnone
Used byassets
Yanked versions0.1.0 — do not pin these
Sourceread it here — the libraries are written in loft
Repositoryhttps://github.com/loft-lang/loft-libs-graphics/tree/main/shapes

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.

← All libraries