Isle-Slingers/js/physics/aim/agents.md
Relay dff5dd5b30 Clean release scrub: remove internal fleet references
Removes internal process references so the repo is presentable to an
outside audience: dropped the internal build-retrospective doc
(process log with internal terms, not useful to an outside reader),
and reworded remaining internal references in code comments and
module docs (agents.md cards, architecture.md, MODULES.md,
index.html, package.json) to generic descriptions of what changed
and when, with no behavior change -- full 47/47 suite re-run green
after the scrub, every edit verified comment/doc-only via diff.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 14:36:52 +00:00

14 lines
708 B
Markdown

# js/physics/aim/ — agents.md
Part of the modularization pass. Module map: `MODULES.md`; runtime model: `architecture.md`.
Installs into `P`: aimVector, trajectory.
- `aimVector(g, sling, drag)` clamps drag to [MIN_PULL, MAX_PULL] and maps it to
a launch velocity. The pull clamp is what makes full-power shots deterministic
(the balance spec relies on it).
- `trajectory(g, x, y, vx, vy, steps)` is the preview integrator; it must track
the real flight — there is a dedicated test arm ("trajectory preview tracks
the real flight"). If you change integration in stepPhysics, change it here in
lockstep.
- Consumes: LAUNCH_POWER, GRAVITY, AIR_DRAG, BIRD_BOUNCE, WORLD,
BIRD_GROUND_FRICTION.