Tunnel

Version 5 of 8

Deformation table.

PC · software · 1999

This version

Same table trick, different formula: a five-petal radius turns the tube into a flower. One table, any warp.

How this version works

This 320-pixel-wide renderer modifies the lookup-table radius by a five-cycle sine wave around the centre, producing a five-lobed tunnel. It uses 32 divided by that modified radius for depth, and adds an inverse-radius term to the angle coordinate to twist the texture towards the centre. The XOR texture scrolls through a red, orange, yellow and white palette, with angular motion 1.5 times the standard tunnel speed and smaller centre movement. A 1.2 power curve across 32 shading levels darkens the centre more strongly.

The trick in this version

The nonlinear deformation is calculated when the tables are built, not during each animation frame. The frame loop remains the same table lookup, coordinate wrapping and shaded-palette lookup used by the ordinary tunnel.

Historical context · PC

  1. 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.

  2. 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.

  3. 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 · software
Era
PC
Rendered on
CPU
Tags
plane deformation · lookup tables
Sources
Deformation tables (1999–2000)Dottitunneli (1993)A tunnel made of metaballs (2026)