# Space elevator ## What this builds A vertical journey up a tether, from a ground anchor to a station in orbit. The camera climbs continuously. At documented heights a fact appears. The numbers are a simple Earth model, listed in a table, not a live ephemeris. The art is original. Read `spekkr.inputs.json` first. `title` is on the ground. `anchor_lat` only changes a label and the length of the ground track; the height table is the same. `facts` and `atmosphere` change the chrome. `units` change labels only. ## Out of scope - A real engineering proposal or a claim that this tether can be built. - A live weather or orbital API. - A ride that needs a GPU cluster. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. The height table - Heights in kilometres above mean sea level: ground 0, tropopause 17 (at the equator in this model), stratopause 50, Karman 100, station 35786. - The camera's altitude at a normalised climb t in [0, 1] is the ease in `design.md`, and labels appear when the camera is within 2% of a table height. - The tether is drawn as a line from 0 to 35786 km, not to scale in the last segment, with a break mark as in `design.md`. Accept when: at the documented t values the camera altitude matches the table within 1 km, and each label is present in the listed window. ### R2. Frames - Goldens at ground (t = 0), tropopause, a stratosphere mid-point, and the station. - Facts, if on, match the text in `fixtures/elevator-facts.json`. Accept when: the four frames match the goldens, including the fact text when the option is on. ### R3. Files - One command runs the height tests and writes the frames. No network. Accept when: the command passes in both unit labels. ### R4. Inputs - The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. - A value outside a stated range, or a swap that is not one of its choices, is refused before the app starts its checks, with a message that names the key. Accept when: the default inputs render, an illegal swap is refused by name, and changing a visible setting (for example the title) shows up in a later check. ## Verification Altitude labels and camera position are tested against a height table, to 1 km. Golden frames are taken at ground, tropopause, a stratosphere point, and orbit. Units only change labels. No live orbital data and no network. ## Definition of done - Every acceptance check above runs from one command, and all pass at the person's inputs. - A README says how to ride, how to read the scales, and how to run the checks.