Canonical room input
Define the walls. Validate the loop. Save the geometry.
Select a room model and enter every boundary edge in order. A valid room must close exactly, remain orthogonal, and never cross or touch itself. Canonical edge names are derived from the finished geometry.
Notional compass
N = positive Y
E = positive X
SVG orientation is handled by the renderer.
Step 1
Room boundary
Step 2
Canonical SVG
- Overall width
- —
- Overall height
- —
- Area
- —
- Perimeter
- —
Nothing has been saved to R2 in this browser session.
Canonical data
Room JSON
This object is the source for tests and, later, the board-layout engine. The SVG is only a renderer.
{}
Edge naming rule used here
Edges are classified by outward face. Within each face they are ordered by inward depth, then by clockwise lateral priority: north east-to-west, east south-to-north, south west-to-east, and west north-to-south. This produces identifiers such as N1, N2, E1 and W1.