TITLE: PRISM BREAK — an optics puzzle PROMPT: Design 'PRISM BREAK', an optics puzzle toy: on a dark laboratory table, aim a coherent white beam (canvas-drawn with glow) from an emitter; mirrors rotate 45° per click to redirect, splitters divide the beam, and glass prisms fan it into a dispersed spectrum (wavelength-based bend angles) that must hit colored targets in the right hue. Ten handcrafted levels of increasing cleverness plus a sandbox. Palette: obsidian table, luminous beams, spectral hues. Interactions: click pieces to rotate with an eased snap; drag the emitter's aim; targets chime when satisfied (WebAudio, gesture-gated); SANDBOX gives unlimited pieces from a tray; RESET and UNDO; victory rays bloom. Lucid, elegant, satisfying. DESCRIPTION: A laser-optics puzzle on an obsidian bench: a white beam from a draggable-aim emitter traces through piece segments with real ray-segment intersection and recursion — mirrors reflect, splitters both reflect and pass, and glass prisms disperse the beam into five spectral rays that continue at spread angles. Colored ring targets (any-hue or hue-matched) light and pulse when struck correctly; ten handcrafted levels escalate from single-mirror redirects to splitter choreography and full dispersion puzzles, auto-advancing when all targets glow. A piece tray places unlimited mirrors, splitters, and prisms anywhere (click to rotate 45°, drag to reposition); undo/reset; winning plays a four-note sine arpeggio and rotation plays a blip. TECHNIQUES: recursive ray tracer with segment-intersection math (parametric t/u solve), mirror reflection via normal dot products, splitter dual-ray fan, prism spectral dispersion into five hue-tagged rays, target hit-testing by perpendicular beam distance with hue matching, glow-stroked beam rendering, level state machine with auto-advance, WebAudio blips and win arpeggio (gesture-gated). INTERACTION: Click pieces to rotate 45°, drag them anywhere, drag near the emitter to aim; place pieces from the tray; light every target to advance through ten levels.