Model 8×4 · solid state brick machine · cab no. 032

BRK//OUT

Thirty-two blocks of cyan ceramic suspended above one white paddle. Do not let the yellow drop.

  • 32bricks
  • 03lives
  • 320max pts
  • 400×600field
power 21" shadow mask 400×600
System nominal · awaiting player one
60 FPS

Operator's
manual

Rendering is 100% Canvas 2D on a fixed 400×600 logical grid, upscaled by devicePixelRatio and cached to an offscreen buffer. Simulation runs on a fixed 16.67 ms accumulator so a 120 Hz phone and a 60 Hz desktop behave identically.

  1. 01

    Swept AABB

    Ball box tested against brick face rects; penetration on X vs Y decides which axis flips.
  2. 02

    Vector integrity

    Every bounce renormalises velocity to the target magnitude, then clamps the angle so the ball never stalls horizontally.
  3. 03

    Edge safety

    Paddle is clamped to 0–340 px; its side faces reflect X so serves near the rails never jam.
  4. 04

    Frame budget

    Zero DOM writes inside the render loop — rails update on a 250 ms tick, particles are capped.