THREE.JS / MATH CONTRACT

Boxes know which way they face.

The official OBB study copies a geometry-level OBB through each world transform, runs pairwise intersectsOBB tests, and uses intersectRay to select the nearest oriented object. This lab makes those ownership and collision boundaries observable with deterministic boxes.

ReadyWEBGL2 / OBB
Waiting for transformed boxes.
objects
—
collisions
—
selected
—
sample avg / p95
—

The official random 100-object field, Stats presentation, exact camera/page composition, and broad-phase optimization are not copied. Native backend/device performance, context-loss stress, and whole-example fidelity remain separate boundaries.

Sources: OBB · official OBB example