Drag anywhere on the screen to slide the paddle · tap to launch · hold the pads below for thumb control
Canvas brick breaker · 8×4 grid · fixed 60 Hz
Drag anywhere on the screen to slide the paddle · tap to launch · hold the pads below for thumb control
Each substep moves X, resolves every left/right face, then moves Y and resolves top/bottom. The face is picked from the ball's nearest point on the rect, so brick hits flip the correct axis instead of jittering.
Movement is split into ≤1.2 px steps, and only the deepest overlap is resolved per step. A brick dies the instant it is hit, so it can never re-collide — no sticking, no tunnelling, no ploughing through a row.
Contact angle maps −1…1 across the paddle to ±60°, so edge hits skim sideways and centre hits go flat up. Paddle momentum carries a little spin into the ball; horizontal share is capped so it can never grind sideways forever.