# 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. ## Units One world unit is 1 metre. The chamber dimensions and the waypoint file are the authority. The entrance is at (0, 1.6, 8), looking at (0, 1.6, 0), as restated in the file. ## Screenshot tolerance 8 levels, 98% of pixels, 1600 by 1000, the documented camera. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Title | A walk inside | Shown at the first waypoint. | | `pace` | Walk pace | 1.0 | A multiplier on the camera path speed, from 0.5 to 2. | | `guide` | Show a guide caption | on | A short caption at each waypoint. | | `plan` | Show a small plan | on | A top-down plan with the camera mark. | | `path` | Camera path | guided | guided is the full waypoint path. short is four waypoints, for quicker checks. | ## 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 | | --- | --- | | `LICENCE.md` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/pyramid-path.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/gallery.png` | The gallery camera path, looking toward the lit chamber. | ## 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. The camera path hits every documented waypoint within 0.05 units. Golden frames are taken at four of them. Assets used in CI are local and listed as redistributable; a licence scan and a fetch hook fail the build otherwise. No copyrighted commercial tour data.