Lab
Mecha HUD
WORKINGTargeting reticles, sweep lines and scan bars composed from primitives — a cockpit display with no images in it.
Every element is a distance function: a grid from fract(), a crosshair with a centre gap and a range cutoff, four L-brackets, and a radar sweep whose trail is exp(-abs(angDiff)*1.8). No sprite sheet, no texture — the whole cockpit is arithmetic.
- Ran
- Outcome
- CONFIRMED
- Stack
- WebGL · GLSL · HUD
- Built
- Composed the ring, crosshair and sweep primitives into one layered field.
- Model
- Claude Opus 5
- Source
- View source →