OQ - Gravity Toy
Version: 0.1.1
Date: 2026-04-13
Status: Executed
1. Purpose
Verify that Gravity Toy operates according to its current FS.md in a browser environment.
2. Preconditions
- Gravity Toy IQ checks completed with no blocking issues
- desktop browser and mobile/touch viewport available
3. OQ Test Cases
| OQ ID | FS Ref | Test | Expected Result | Status |
|---|---|---|---|---|
| G-OQ-01 | FS-01 | Open site/visuals-gravity.html |
Simulation starts with Solar System preset | Pass |
| G-OQ-02 | FS-05, FS-06 | Drag and launch a new orb | Spawn point, direction, and heavier hold behavior are visible | Pass |
| G-OQ-03 | FS-09, FS-10 | Switch each preset and press reset | Presets load correctly and reset restores the active preset | Pass |
| G-OQ-04 | FS-11 | Pause during active motion/effects, then resume | Simulation and transient effects freeze and continue cleanly | Pass |
| G-OQ-05 | FS-12, FS-13 | Observe Solar and high-energy cases | Fixed star stays anchored and escaped bodies are culled | Pass |
| G-OQ-06 | FS-14, FS-15, FS-16, FS-17 | Observe active motion and merge events | Color mapping, trails, force lines, and merge effects are visible | Pass |
| G-OQ-07 | FS-18 | Enable reduced motion and reload | Visual effects are suppressed and reduced-motion behavior matches design | Pass |
| G-OQ-08 | FS-19, FS-20 | Toggle language and load with ?lang=en |
NL/EN copy is complete and URL-driven language works | Pass |
| G-OQ-09 | n/a | Inspect close-pair barycenter rendering | Barycenter markers remain visible, including with heavy central bodies | Pass |
| G-OQ-10 | n/a | Open site/visuals-gravity/docs/index.html and linked pages |
Gravity docs hub and linked HTML docs render correctly | Pass |
4. Execution Record
- Date executed: 2026-04-13
- Environment:
- local HTTP server on
http://127.0.0.1:4173/ - headless Playwright browser smoke on desktop and reduced-motion/mobile viewport
- local HTTP server on
- Executed checks:
- open
visuals-gravity.html?lang=en - switch from
Solar SystemtoBinary - perform drag-to-launch interaction
- pause and resume the simulation
- open
visuals-gravity/docs/index.htmlandoq.html - verify reduced-motion starts paused and suppresses animated behavior path
- verify all Gravity docs URLs return
200
- open
- Result: no browser console errors observed; all listed OQ checks passed
5. Acceptance
OQ is acceptable when the visual remains interactive and legible on desktop and mobile, language switching works, reduced-motion behavior matches design intent, and the public docs set is reachable.