32 bricks of cyan circuitry, one 3‑pixel amber core, three lives. Pure Canvas 2D — hand‑rolled AABB physics, no engines, no libraries.
collision integrity & feel
Launch vector is (2, −2.8) normalised onto the speed scalar — a true 45°‑ish diagonal, never a dead‑vertical serve.
Contact offset drives a ±60° reflection: centre returns steeply, the very edges bite out at ~1.05 rad.
Nearest overlap wins, the shallow axis ejects the ball, the velocity magnitude is re‑normalised — no sticky bricks, no speed creep.
Motion splits into two collision passes per tick, so a 4 px ball can never tunnel through a 20 px brick row.
Paddle x stays inside 0–340. Side contact reflects horizontally; the full‑width field keeps every rally in play.
Accumulator steps at exactly 1/60 s with device‑pixel‑ratio backing store — identical physics at 60, 90 or 120 Hz.