Examples
Complete plans from the repository's examples/ directory, live and editable — edit the source on the left and the SVG on the right recompiles instantly (client-side, deterministic). Hit Open in Playground to keep going with the full editor.
Studio (1BR)
The flagship example, and a tour of v1.3: rooms tagged with uses, a cased opening linking the living space to the hall, real fixture symbols (sink, counter, stove, fridge, shower, basin, WC), and doors whose swings stay clear of the furniture. It is lint-clean under the default profile and import-free. Run arch describe / arch lint on it to see the analysis in action.
Two-bedroom flat
A larger plan with a central corridor, multiple rooms, and several openings — absolute placement at a real apartment's scale, with north reoriented.
Parametric
Uses let bindings, a value-function, an array, a scoped set, a for loop, and string interpolation to generate a row of repeated units — showing that scripting expands at compile time into a fixed, deterministic drawing.
Themed
A custom theme { … } block with a brick wall material (hatch) — the same geometry, restyled. See theming and materials.
Relational
Rooms positioned relative to one another with right-of / below, align, and gap — resolved to absolute coordinates by deterministic arithmetic, not an optimizer (see relational placement).
Attached (placement sugar)
A one-bedroom flat with no hand-computed coordinates for its openings or furniture. It exercises the v1.13 placement sugar together: a strip laying rooms out end to end, doors and windows attached to a wall by position (on <wall> at <pos> — so they can never be reported "off wall"), a door that opens toward a named room (swing into), and furniture anchored inside a room (in <room> anchor … inset …).
Accessible metadata
accTitle and accDescr supply the SVG <title>/<desc> emitted by arch compile --accessible. They are metadata only — the default output is byte-identical without the flag. Omit them and the description is derived from describe()'s caption instead.