# Design This file fixes the parts that are easy to get wrong. The language and tools are up to you, as long as the numbers here hold. ## Studio A single room 6.2 by 4.1 m, walls 0.15 m, door 0.9 m on the south wall. The one-bed flat is in the same file. Furniture bounding boxes are in `fixtures/furniture.json`. ## Screenshot tolerance 8 levels, 98% of pixels. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Title | A small flat | Shown on the plan. | | `share_prefix` | Share URL prefix | https://example.invalid/a/ | Used when minting a layout URL. | | `walk` | First-person walk | on | If off, only a top-down plan is used. | | `collisions` | Block intersections | on | Furniture cannot overlap walls or each other. | | `flat` | Flat | studio | A shipped room plan, in metres. | ## Acceptance at the defaults The numbers, names and fixture paths already in this file are the authority. Where a later table or a shipped fixture file disagrees with prose, the table or the fixture wins. | Fixture | Role | | --- | --- | | `fixtures/apt-collisions.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/flats.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/furniture.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/studio-a.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `spekkr.inputs.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | Golden frames are compared at 1400 by 1000 CSS pixels unless a requirement names another size. Tolerance, unless a tighter figure is given above: 8 levels, 98% of pixels, with motion, cursors and clocks frozen as this file says. A build's goldens are of that build; they do not have to match a shipped reference preview pixel-for-pixel if the tool or the type is different, but they do have to match this file's layout, counts and copy. ## Screenshots These pictures are headless-Chrome captures of the working reference in `reference/preview.html`, at the default inputs. They are not drawings of a product that has not been built. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel. | File | What it shows | | --- | --- | | `shots/plan.png` | A small furnished flat: living, kitchen, bedroom, bath, a plant still in hand. | ## How to verify 1. Run the checks at the default inputs, without a network. 2. Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file. 3. Repeat once at the person's inputs when they differ from the defaults. 4. Fixture furniture poses and room dimensions match shipped files. Collision and bounds cases are tested with the option on and off. A scripted walk does not pass through walls. A layout round-trips through a share URL. A golden view is checked. No live catalogue and no network.