Coordinates
The editor works in two coordinate spaces: world (the scene's own units) and screen (canvas pixels). The Viewport defines the camera that maps between them via pan, zoom, and rotation.
Geometry
@oh-just-another/math is the L0 geometry toolkit underpinning the scene model. It is a pure, DOM-free collection of namespaced modules: vec2, scalar, matrix, bounds, hitTest, bezier, intersect, color, and polygon.
Grid
The background grid is a per-scene viewport setting. It controls how the canvas backdrop is painted and, together with snapping, where shapes settle.
Snapping
@oh-just-another/scene ships a pluggable snap engine. The SnapEngine runs a list of contributors against a probe point and returns the best candidate within a threshold. Three built-in contributors cover the common cases: gridSnapper, anchorSnapper, and outlineSnapper.