Demonstration · orbital mechanics and lattice algebra

SPOCKTM collision avoidance and the toy lattice

SPOCK: Spacecraft Proximity and Orbital Conjunction Kinematics.

One 2×2 quadratic form; two problems that reduce to the same object. A satellite conjunction probability and a lattice decoding-failure probability are the same integral over the same Gaussian density and the same disc.

Demonstration. Every figure is computed live in your browser from the manuscript equations. Nothing is pre-rendered and nothing is fetched. Input values are illustrative (Sample). This is a technical demonstration, not operational collision-avoidance guidance.

The interactive instrument runs inline below. Drag to orbit the geometry, switch between the two tabs, and edit any input: the conjunction probability and the lattice decoding failure are recomputed from the same engine on every change.

Interactive companion to Mathematical Foundations of Automated Satellite Collision Avoidance, CAPT (USN Ret) William L. Edwards, PhD. Every figure is computed live in your browser from the manuscript equations, cross-checked against verify_leo.py (33/33). Nothing is pre-rendered and nothing is fetched.

drag to orbit · wheel to zoom
drag to orbit · wheel to zoom · points colored by the Dilithium cube's 16-band spectrum
Computed in-browser: no network calls, no telemetry, no external libraries. The 3D is a roughly 250-line painter's-algorithm renderer, not a bundled engine, because the production host serves script-src 'self' and a self-hosted three.js would be a dependency to pin and keep in step for points, lines and a quad. Engine engine/assets/quadform.js · 3D engine/assets/cube3d.js · scenes engine/assets/scenes.js · app engine/assets/app.js. Probabilities use tensor-product Gauss-Legendre quadrature in polar coordinates, refined until successive orders agree to 1×10⁻¹⁴ relative.

Why one engine serves both

Conjunction assessment asks how much Gaussian probability mass sits inside a hard-body disc. Lattice decoding asks how much error mass sits inside the decoding ball. They are the same integral: in the B-plane the quadratic form is a projected state covariance; in the lattice it is the basis Gram matrix. A single routine computes both.

The B-plane tab runs the manuscript worked example live, including a maneuver slider that reveals a burn which raises collision probability, a reminder that the maneuver has a sign. The lattice tab contrasts a good and a bad basis that describe the identical lattice, with the true-nearest oracle enumerated from the reduced basis so the demonstration cannot fake the property it shows.

Based on the manuscript and the exact-rational review by CAPT (USN Ret) William L. Edwards, PhD. Demonstration packaging by Deep Blue Krypto Group.