otter-geo is 2D geometry for layout and hit testing. Integer math on hot paths, no render deps.
otter-ui, otter-render, otter-wayland, and otter-config-types all pull types from here.
Quick example
Documentation map
Types and operations
Point, Rect, Circle, Padding, Align, and Transform.Design rules
- Coordinates are
u16oru31depending on type. No floats in layout. Recthelpers cover intersection, union, inset, and centering.Transformuses 16.16 fixed-point rotation for integer-safe transforms.

