Neon Tunnel: Log-Polar Domain-Warp Raster (2D)

This 2D companion rebuilds the synthwave tunnel effect without any GPU shader at all: a small offscreen pixel buffer is filled entirely in JavaScript, one pixel at a time, by converting each pixel's screen position into a logarithmic-polar coordinate t = -ln(r) + time·speed and testing it against periodic ring and spiral-stripe patterns — the same conceptual trick as a fragment shader's tunnel mapping, but computed on the CPU into an ImageData array rather than run in parallel on the GPU. On top of that base pattern, the polar angle is perturbed by hand-written fractal value noise (domain warping), so the neon walls buckle and ripple organically instead of staying perfectly periodic. The buffer renders at reduced resolution and is stretched to fill the canvas, trading a little sharpness for real-time frame rates — the classic render-small-then-upscale approach used throughout the software-rendering era.