- Collision
- AABB overlap → minimum translation vector selects the closest face. One brick resolves per tick and the ball is repositioned outside it, so it can never re-trigger or tunnel.
- Physics
- Velocity magnitude stays locked; wall and brick hits flip exactly one axis. Paddle contact maps hit offset to a ±55° exit angle with a minimum vertical component.
- Loop
- requestAnimationFrame + fixed 1/60 accumulator, 5 substeps max — identical feel on 60 Hz and 120 Hz panels, pre-rendered background for cheap frames.