Orb farm
A living glass orb of organisms and chemistry you can tend, with seeded ticks that change documented populations and a golden frame.
This is an interactive visual spec on Spekkr, published by nova. It is listed with the other specs. Paste the line to an agent that can open a web address, and the agent fetches the files and builds from them.
- Spec
nova/orb-farm- Version
- 0.2.2
- Published by
- nova
- Updated
- 15 Nov 2026
Build this spec
Build the spec at https://spekkr.com/nova/orb-farm/start.md.
Paste this to your AI agent. It opens the address, fetches the spec's files, records your choices and builds from them. Nothing to install, no account.
Published by nova.
What does the result look like?
What can I customize?
Your choices go into the line you copy. Anything else is yours to edit, but it leaves the tested path.
What do I get?
-
spec.mdRequirements and acceptance checks.Orb farm
What this builds
A round glass world, seen from the side, with a few kinds of tiny organisms and a small chemistry model. The person can change the light, add food, or wait. Seeded ticks change documented population and chemistry numbers. The creatures, the look and the rules are original. This is a toy ecosystem, not a lab model.
Read
spekkr.inputs.jsonfirst.titlesits under the orb.seedpins chance.startchooses the opening mix.chemistryandlabelschange the chrome.Out of scope
- A scientifically calibrated aquarium or a claim of real biology.
- Network, a marketplace of creatures, or a live shared orb in the checks.
- A 3D fluid solver of the water in this version.
Requirements
Each requirement has an id. Checks name the id they cover.
R1. State
- State is counts of three organisms (
grazer,bloom,filter) and four chemistry values in [0, 1]: light, food, waste, oxygen. - A tick is 1 hour of world time. Rules are in
design.md. - Seed 5,
calm, at tick 0, matchesfixtures/orb-calm-0.json. After 48 ticks with no input, it matchesfixtures/orb-calm-48.json.
Accept when: both files match to the counts exactly and to 0.01 on chemistry.
R2. Tending
- A
feedadds 0.3 food, clamped to 1. Alightinput sets light to a value in [0, 1]. - The tape
fixtures/orb-feed.jsonstarts from calm seed 5, feeds at tick 4, and at tick 24 matches the file. - No count goes negative. If a count would fall below 0 it is 0.
Accept when: the feed tape matches, and a fixture that would go negative is clamped.
R3. Frames and files
- Goldens: calm at tick 0, after the feed tape, crowded at tick 0, and a chemistry-meters close-up of calm at 48.
- One command runs the state, tape, and clamp tests, and writes the frames. No network. Chance only from the seed.
Accept when: the command passes for both starting mixes, and the frames match the goldens.
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
Seeded ticks change documented populations and chemistry, compared to shipped files at tick 0 and 48, and after a feed tape. Counts never go negative. A golden aquarium frame is checked. No live biology claims 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 tend the orb, how to pin a seed, and how to run the checks.
# Orb farm ## What this builds A round glass world, seen from the side, with a few kinds of tiny organisms and a small chemistry model. The person can change the light, add food, or wait. Seeded ticks change documented population and chemistry numbers. The creatures, the look and the rules are original. This is a toy ecosystem, not a lab model. Read `spekkr.inputs.json` first. `title` sits under the orb. `seed` pins chance. `start` chooses the opening mix. `chemistry` and `labels` change the chrome. ## Out of scope - A scientifically calibrated aquarium or a claim of real biology. - Network, a marketplace of creatures, or a live shared orb in the checks. - A 3D fluid solver of the water in this version. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. State - State is counts of three organisms (`grazer`, `bloom`, `filter`) and four chemistry values in [0, 1]: light, food, waste, oxygen. - A tick is 1 hour of world time. Rules are in `design.md`. - Seed 5, `calm`, at tick 0, matches `fixtures/orb-calm-0.json`. After 48 ticks with no input, it matches `fixtures/orb-calm-48.json`. Accept when: both files match to the counts exactly and to 0.01 on chemistry. ### R2. Tending - A `feed` adds 0.3 food, clamped to 1. A `light` input sets light to a value in [0, 1]. - The tape `fixtures/orb-feed.json` starts from calm seed 5, feeds at tick 4, and at tick 24 matches the file. - No count goes negative. If a count would fall below 0 it is 0. Accept when: the feed tape matches, and a fixture that would go negative is clamped. ### R3. Frames and files - Goldens: calm at tick 0, after the feed tape, crowded at tick 0, and a chemistry-meters close-up of calm at 48. - One command runs the state, tape, and clamp tests, and writes the frames. No network. Chance only from the seed. Accept when: the command passes for both starting mixes, and the frames match the goldens. ### 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 Seeded ticks change documented populations and chemistry, compared to shipped files at tick 0 and 48, and after a feed tape. Counts never go negative. A golden aquarium frame is checked. No live biology claims 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 tend the orb, how to pin a seed, and how to run the checks.
-
design.mdStarting mixes, tick rules, and the feed tape.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.
Tick rules
Listed in
fixtures/orb-rules.jsonand restated here: grazers rise with food and fall with low oxygen; bloom rises with light and food and raises waste; filters fall with waste and raise oxygen; food falls as grazers and bloom feed; waste rises with bloom and falls with filters; oxygen slowly follows (1 - waste). Coefficients are in the file. Tests use the file, not a re-typed formula.Screenshot tolerance
8 levels, 98% of pixels.
Inputs
Key Label Default Notes titleTitle A glass world Shown under the orb. seedSeed 5 A whole number. It pins the starting populations and any later chance. chemistryShow chemistry on A small set of meters: light, food, waste, oxygen. labelsLabel organisms off A hover or a side list of counts. startStarting mix calm Two shipped starting populations. 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 design.mdA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/orb-calm-0.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/orb-calm-48.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/orb-feed.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/orb-rules.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.spekkr.inputs.jsonA shipped fixture. The build may move it, but then design.mdmust 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/orb.pngThe glass world at seed 5, population 128, pH 7.2. How to verify
- Run the checks at the default inputs, without a network.
- Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file.
- Repeat once at the person's inputs when they differ from the defaults.
- Seeded ticks change documented populations and chemistry, compared to shipped files at tick 0 and 48, and after a feed tape. Counts never go negative. A golden aquarium frame is checked. No live biology claims and no network.
# 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. ## Tick rules Listed in `fixtures/orb-rules.json` and restated here: grazers rise with food and fall with low oxygen; bloom rises with light and food and raises waste; filters fall with waste and raise oxygen; food falls as grazers and bloom feed; waste rises with bloom and falls with filters; oxygen slowly follows (1 - waste). Coefficients are in the file. Tests use the file, not a re-typed formula. ## Screenshot tolerance 8 levels, 98% of pixels. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Title | A glass world | Shown under the orb. | | `seed` | Seed | 5 | A whole number. It pins the starting populations and any later chance. | | `chemistry` | Show chemistry | on | A small set of meters: light, food, waste, oxygen. | | `labels` | Label organisms | off | A hover or a side list of counts. | | `start` | Starting mix | calm | Two shipped starting populations. | ## 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 | | --- | --- | | `design.md` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/orb-calm-0.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/orb-calm-48.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/orb-feed.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/orb-rules.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/orb.png` | The glass world at seed 5, population 128, pH 7.2. | ## 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. Seeded ticks change documented populations and chemistry, compared to shipped files at tick 0 and 48, and after a feed tape. Counts never go negative. A golden aquarium frame is checked. No live biology claims and no network.
-
tasks.mdBuild tasks in order, each with a check.Tasks
Work in order. Finish a task's check before starting the next.
- Set up. Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read
spekkr.inputs.jsonfirst. Check: a blank or heading page loads, and an empty test run passes. - State (R1). Build what
R1. Stateasks for, to the numbers indesign.md. In particular: State is counts of three organisms (grazer,bloom,filter) and four chemistry values in [0, 1]: light, food, waste, oxygen. Check: theR1. Stateacceptance checks pass. - Tending (R2). Build what
R2. Tendingasks for, to the numbers indesign.md. In particular: Afeedadds 0.3 food, clamped to 1. Alightinput sets light to a value in [0, 1]. Check: theR2. Tendingacceptance checks pass. - Frames and files (R3). Build what
R3. Frames and filesasks for, to the numbers indesign.md. In particular: Goldens: calm at tick 0, after the feed tape, crowded at tick 0, and a chemistry-meters close-up of calm at 48. Check: theR3. Frames and filesacceptance checks pass. - Inputs (R4). Build what
R4. Inputsasks for, to the numbers indesign.md. In particular: The build readsspekkr.inputs.json. Settings label the UI, options turn features on or off, and a swap must be one of its choices. Check: theR4. Inputsacceptance checks pass. - Goldens. Capture the frames named in
design.mdat the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. - Finish. Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in
spec.mdis true.
# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read `spekkr.inputs.json` first. Check: a blank or heading page loads, and an empty test run passes. 2. **State (R1).** Build what `R1. State` asks for, to the numbers in `design.md`. In particular: State is counts of three organisms (`grazer`, `bloom`, `filter`) and four chemistry values in [0, 1]: light, food, waste, oxygen. Check: the `R1. State` acceptance checks pass. 3. **Tending (R2).** Build what `R2. Tending` asks for, to the numbers in `design.md`. In particular: A `feed` adds 0.3 food, clamped to 1. A `light` input sets light to a value in [0, 1]. Check: the `R2. Tending` acceptance checks pass. 4. **Frames and files (R3).** Build what `R3. Frames and files` asks for, to the numbers in `design.md`. In particular: Goldens: calm at tick 0, after the feed tape, crowded at tick 0, and a chemistry-meters close-up of calm at 48. Check: the `R3. Frames and files` acceptance checks pass. 5. **Inputs (R4).** Build what `R4. Inputs` asks for, to the numbers in `design.md`. In particular: 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. Check: the `R4. Inputs` acceptance checks pass. 6. **Goldens.** Capture the frames named in `design.md` at the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. 7. **Finish.** Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in `spec.md` is true.
- Set up. Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read
-
reference/preview.htmlA working reference preview of the default view, used to make the listing pictures. A build does not have to start from this file. -
reference/fonts/fonts.cssWebfont faces for the reference preview. -
reference/fonts/Geist.ttfGeist variable typeface for the reference preview. -
reference/fonts/GeistMono.ttfGeist Mono variable typeface for the reference preview. -
reference/fonts/Fraunces.ttfFraunces variable typeface for the reference preview. -
reference/fonts/Fraunces-Italic.ttfFraunces italic variable typeface for the reference preview.
Is it for me?
- Platforms
- web
- Tools
- TypeScript
What does it need?
- Agent permissions
- shell
- Commands it runs
install a test runnerinstall a tool that compares screenshots
What changed?
- 0.2.215 Nov 2026Names what it builds.
- 0.2.114 Nov 2026Add animated loop to the listing shots.
- 0.2.014 Nov 2026Polished reference preview and new listing shots, including a short loop.
- 0.1.014 Nov 2026First version.
For agents: start.md says how to build this spec, spec.json holds everything on this page, and bundle.tar.gz holds its files.