Pointer pointer
A page that picks, from a fixture set, an original drawing of a figure pointing at your cursor, within a documented pixel tolerance.
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/pointer-pointer- Version
- 0.2.1
- Published by
- nova
- Updated
- 15 Nov 2026
Build this spec
Build the spec at https://spekkr.com/nova/pointer-pointer/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.Pointer pointer
What this builds
A full-page toy. Wherever the cursor is, the page shows an original drawing in which a hand or a figure points at that place. The drawings are a fixture set: each image ships with the pixel coordinate of its pointer. The page picks the image whose pointer, after the image is placed, lands closest to the cursor, and must land within
tolerancepixels. The set is original. There is no live camera, no photograph claim, and no scraped commercial gallery.Read
spekkr.inputs.jsonfirst.titleis in a corner.toleranceis the accept distance.setchooses the drawing folder.creditsshows a caption.crosshairis for tests.Out of scope
- A live webcam, or a scraped set of other people's photos or drawings without licences.
- Network, a search engine, or a commercial stock API in the checks.
- A face-recognition claim.
Requirements
Each requirement has an id. Checks name the id they cover.
R1. The set
- Each image has a file, a pointer (x, y) in image pixels, and a credit string.
tinyhas at least 9 images,studioat least 36, covering a grid of pointer positions.- A licence file lists every image. A test fails if a file is missing or a pointer coordinate is outside the image.
Accept when: both sets validate, and every pointer lies inside its image.
R2. Picking
- The chosen image is drawn so its pointer sits as close as possible to the cursor; the image may be translated but not scaled in this version (it is cropped if needed).
- For the sampled cursors in
fixtures/pointer-samples.json, the chosen id is the one in the file, and the pointer lands withintolerancepixels of the cursor. - If no image can land within the tolerance, the nearest is used and a
nearflag is set; for the shipped sets and a 24 px tolerance, this must not happen on the sample grid.
Accept when: every sample matches the chosen id and the pixel tolerance, and
nearis false.R3. Frames and files
- Goldens: cursor at the centre, cursor at a corner, the centre with credit on, and a contact sheet of the tiny set.
- One command validates the sets, runs the samples, and writes the frames. No network.
Accept when: the command passes for both sets, 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
A fixture image set is used, never a live camera or a scraped gallery. For sampled cursor positions, the chosen figure's pointer lands within a documented pixel tolerance, and the chosen id matches a file. Credits and licences are shipped. 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 the set is licensed, how to add a drawing, and how to run the checks.
# Pointer pointer ## What this builds A full-page toy. Wherever the cursor is, the page shows an original drawing in which a hand or a figure points at that place. The drawings are a fixture set: each image ships with the pixel coordinate of its pointer. The page picks the image whose pointer, after the image is placed, lands closest to the cursor, and must land within `tolerance` pixels. The set is original. There is no live camera, no photograph claim, and no scraped commercial gallery. Read `spekkr.inputs.json` first. `title` is in a corner. `tolerance` is the accept distance. `set` chooses the drawing folder. `credits` shows a caption. `crosshair` is for tests. ## Out of scope - A live webcam, or a scraped set of other people's photos or drawings without licences. - Network, a search engine, or a commercial stock API in the checks. - A face-recognition claim. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. The set - Each image has a file, a pointer (x, y) in image pixels, and a credit string. - `tiny` has at least 9 images, `studio` at least 36, covering a grid of pointer positions. - A licence file lists every image. A test fails if a file is missing or a pointer coordinate is outside the image. Accept when: both sets validate, and every pointer lies inside its image. ### R2. Picking - The chosen image is drawn so its pointer sits as close as possible to the cursor; the image may be translated but not scaled in this version (it is cropped if needed). - For the sampled cursors in `fixtures/pointer-samples.json`, the chosen id is the one in the file, and the pointer lands within `tolerance` pixels of the cursor. - If no image can land within the tolerance, the nearest is used and a `near` flag is set; for the shipped sets and a 24 px tolerance, this must not happen on the sample grid. Accept when: every sample matches the chosen id and the pixel tolerance, and `near` is false. ### R3. Frames and files - Goldens: cursor at the centre, cursor at a corner, the centre with credit on, and a contact sheet of the tiny set. - One command validates the sets, runs the samples, and writes the frames. No network. Accept when: the command passes for both sets, 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 A fixture image set is used, never a live camera or a scraped gallery. For sampled cursor positions, the chosen figure's pointer lands within a documented pixel tolerance, and the chosen id matches a file. Credits and licences are shipped. 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 the set is licensed, how to add a drawing, and how to run the checks.
-
design.mdThe fixture set of original drawings, pointer coordinates, and the sampled cursors.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.
Samples
Cursors in a 1600 by 1000 page: the file lists (x, y), the chosen image id, and the expected landing error in pixels. Tests compare ids exactly and error to 0.5 px.
Placement
The image is translated so its pointer coordinate maps to the cursor, then cropped to the page. No scale, no rotate, in this version.
Screenshot tolerance
8 levels, 98% of pixels. The landing error is a geometric check, not an image hash.
Inputs
Key Label Default Notes titleTitle Someone is pointing at it Shown in a quiet corner. tolerancePointer tolerance, px 24 How close the drawn pointer must land to the cursor, from 8 to 48. crosshairShow a crosshair off A faint mark at the cursor, useful in tests. creditsShow a credit on A caption under the figure from the fixture's credit field. setImage set studio A shipped set of original drawings, each with a pointer coordinate. 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/pointer-samples.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/hero.pngAn original drawing of a figure pointing at the cursor, 11 px off. 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.
- A fixture image set is used, never a live camera or a scraped gallery. For sampled cursor positions, the chosen figure's pointer lands within a documented pixel tolerance, and the chosen id matches a file. Credits and licences are shipped. 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. ## Samples Cursors in a 1600 by 1000 page: the file lists (x, y), the chosen image id, and the expected landing error in pixels. Tests compare ids exactly and error to 0.5 px. ## Placement The image is translated so its pointer coordinate maps to the cursor, then cropped to the page. No scale, no rotate, in this version. ## Screenshot tolerance 8 levels, 98% of pixels. The landing error is a geometric check, not an image hash. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Title | Someone is pointing at it | Shown in a quiet corner. | | `tolerance` | Pointer tolerance, px | 24 | How close the drawn pointer must land to the cursor, from 8 to 48. | | `crosshair` | Show a crosshair | off | A faint mark at the cursor, useful in tests. | | `credits` | Show a credit | on | A caption under the figure from the fixture's credit field. | | `set` | Image set | studio | A shipped set of original drawings, each with a pointer coordinate. | ## 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/pointer-samples.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/hero.png` | An original drawing of a figure pointing at the cursor, 11 px off. | ## 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. A fixture image set is used, never a live camera or a scraped gallery. For sampled cursor positions, the chosen figure's pointer lands within a documented pixel tolerance, and the chosen id matches a file. Credits and licences are shipped. 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. - The set (R1). Build what
R1. The setasks for, to the numbers indesign.md. In particular: Each image has a file, a pointer (x, y) in image pixels, and a credit string. Check: theR1. The setacceptance checks pass. - Picking (R2). Build what
R2. Pickingasks for, to the numbers indesign.md. In particular: The chosen image is drawn so its pointer sits as close as possible to the cursor; the image may be translated but not scaled in this version (it is cropped if needed). Check: theR2. Pickingacceptance checks pass. - Frames and files (R3). Build what
R3. Frames and filesasks for, to the numbers indesign.md. In particular: Goldens: cursor at the centre, cursor at a corner, the centre with credit on, and a contact sheet of the tiny set. 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. **The set (R1).** Build what `R1. The set` asks for, to the numbers in `design.md`. In particular: Each image has a file, a pointer (x, y) in image pixels, and a credit string. Check: the `R1. The set` acceptance checks pass. 3. **Picking (R2).** Build what `R2. Picking` asks for, to the numbers in `design.md`. In particular: The chosen image is drawn so its pointer sits as close as possible to the cursor; the image may be translated but not scaled in this version (it is cropped if needed). Check: the `R2. Picking` 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: cursor at the centre, cursor at a corner, the centre with credit on, and a contact sheet of the tiny set. 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/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.115 Nov 2026Names what it builds.
- 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.