This version
The classic: angle and 1/distance tables twice the screen size, an XOR texture, 32 fog levels and a wandering vanishing point.
How this version works
At 320 pixels wide, this version samples precomputed angle, inverse-distance and shading tables covering twice the output width and height. A moving screen-sized window through those tables makes the vanishing point wander. Integer time offsets rotate and advance a 256-by-256 XOR texture, wrapping both texture coordinates to eight bits. Its purple, pink and cream palette is expanded into 32 shading levels, using a 0.9 power curve to darken the centre.
The trick in this version
The tables replace per-frame square roots, angle calculations and inverse-distance divisions with array reads. Bit masks wrap texture coordinates, while precomputed shaded palettes remove per-pixel colour multiplication from the frame loop.
Historical context · PC
1993 · Trug / Future Crew · Second Reality
Dottitunneli
Second Reality's dot tunnel, credited separately and surviving as Pascal source, one of the most inspectable examples there is.
1999–2000 · Iñigo Quilez · Rare, Storm
Deformation tables
Quilez links these demos to his lookup-table deformations: tunnels, flowers and other nonlinear warps from the same table trick.
2026 · Kork / MAJESTiC · Parade
A tunnel made of metaballs
Parade, released at Evoke 2026 with no shaders at all, flies down a throat built from rings of merged blobs: an implicit field marched per pixel, then outlined, bloomed, glitched on the beat and smeared by feedback.
- Platform
- PC · VGA mode 13h
- Era
- PC
- Rendered on
- CPU
- Tags
- lookup tables · texture