ArchLang example floor plans
ArchLang is an open-source (MIT) declarative language for floor plans: you write a plan as text and compile it to a dimensioned SVG drawing. These are the 35 worked examples that ship with the compiler — each page shows the drawing, the source it came from, and the rooms, floor area and windows the compiler measured. Every one of them opens in the editor with one click.
Start here
Laneway House
A 49 m² one-bedroom cottage where nothing is positioned by hand: every opening and fixture resolves against a wall or a room.
One room
The smallest complete plan: one room, one door, one window and a dimension chain.
Garden Loft
A 35 m² loft: three rooms, a kitchen run with a wall behind it, a bath with real fixtures, and a door into every one of them.
Tiny House
A 7.2 x 3.0 m micro-home that argues over millimetres: barn and bifold doors, and the clearances they need.
Studio (1BR)
The canonical example: a compact studio flat. No warning under the default lint rules; the bath opens off the hall, not through the bedroom.
Showpiece
Hillside Villa
A two-storey villa with an attached garage on one A2 sheet — the whole language in a single plan.
Homes
Two-bed flat
A two-bedroom apartment with every room off a central corridor, its walls derived from the rooms — the plainest complete dwelling in the set.
Attached (strip)
A one-bedroom flat with no hand-computed coordinates: a strip of rooms, openings pinned along walls, furniture placed in rooms.
Bungalow (site + doors)
A single-storey bungalow whose whole layout follows one stated fact: the street is south and the garden north.
Courtyard House
A 16.3 x 11.8 m house whose rooms ring an open courtyard — which is a hole in the building, not a room.
Courtyard Family House
A family house round an open courtyard, furnished with pieces no other example draws: bunk beds and a crib, a hot tub and a fire pit.
Townhouse (3 levels)
A 5.5 x 11 m three-storey terrace house: one level block per storey, and one drawing per storey.
Two-storey (2 levels)
A compact two-storey house whose stair carries the same id on both floors, which is what declares one shaft.
Turning Stair
A small house with a quarter-turn stair: one stair of flights and a landing, the same block on both floors.
Furnished Flat
A two-bedroom flat furnished from the symbol catalogue: thirty-eight drawn fixture kinds across five domains.
Issued Sheet (tags + notes)
A small flat issued on A3 with a drawing number, general notes and a tag on every door and window, keyed to a schedule.
Apartment Remodel
A flat drawn for its works: two demolished partitions dashed, one new wall, and rooms measured as they will be.
Garden House (site plan)
A family house on a 22 x 22 m lot drawn as a site plan: the lot line, nine ground materials, fences and a garden.
Public buildings
Museum (A1 sheet)
A 100 x 60 m museum issued on a real A1 sheet at 1:200, because at that size a web-scaled drawing stops working.
Aquarium (curves)
A public aquarium built around a cylindrical tank — the curved-geometry example: arc walls and a circular room.
Library (legend)
A public library around a circular reading room, issued on a sheet with a room schedule and a fixture legend.
Transit Hall
A 90 x 40 m metro concourse split by its gate line: one 300 mm partition with nine openings punched by a loop.
Clinic (place ×6)
An outpatient wing whose six consulting rooms are one component placed six times, rather than six copies.
Practice Office (workplace)
A 225 m² office on a spine corridor: open workspace, meeting rooms, break room and an accessible WC, issued with tagged openings.
Corner Cafe (front and back)
A 15 x 10 m cafe split into front and back of house: a dining room for eighteen, a servery, a kitchen and a store.
Classroom Block (school)
A single-storey school block: three 60 m² classrooms on a 2 m corridor, with lobby, staff prep, pupil WCs and an accessible WC.
Geometry & experiments
Gallery L (polygons)
A floor whose spaces are not rectangles: an L-shaped gallery whose area is its exact ring area, not its box.
Hexagon Pavilion
A hexagonal pavilion: six trapezoidal galleries ringing a circular rotunda, with nothing rectangular anywhere.
Terrace Row (mirror)
A row of four terrace dwellings generated from one component, placed four times and mirrored in pairs.
Scripting & composition
Relational (right-of)
Rooms positioned relative to one another with right-of, below and align; the walls and doors are derived from the rooms, so they reflow with them.
Parametric (for loop)
A row of studio units generated by a for loop over a range: change one constant and the whole row regenerates.
Resizable Flat (knobs)
A one-bedroom flat sized by three numbers at its top: change one and the walls, doors, fixtures and dimensions follow.
Accessible (accTitle)
A two-room plan carrying accTitle and accDescr, the keywords that supply the accessible SVG title and description.
Style
Themed (brick)
A two-room plan with a brick exterior and a blueprint render theme, showing how a theme restyles the drawing.
Materials (hatches)
A maker-space whose four walls each carry a different material: the hatch inside a wall is the specification.