demo 7 of 17

🌀tunnel

An endless flight down a textured throat, steering wherever you click.

Recordings

Both captures below are real iTerm2 sessions running the demo — the same binary renders at pixel resolution where the terminal speaks the kitty graphics protocol, and as ASCII cells everywhere else.

kitty graphics — tunnel-gfx

Each pixel is remapped to polar coordinates around a centre: the angle wraps the wall and 1/radius becomes depth, so a scrolling sine-band texture rushes toward you. Distance fog sinks the throat into black, and the centre drifts on a Lissajous until you grab it.

tunnel in kitty graphics mode
tunnel — kitty pixel mode
ASCII cells — tunnel

The same polar warp on the cell grid, brightness picking the glyph and the palette the colour.

tunnel in ASCII cell mode
tunnel — ASCII cell mode

Controls

KeyAction
spacetwist
mouse clicksteer the centre
atoggle centre autopilot
ccycle palette
+ / -fly speed
q / Escquit

Tuning env vars use the TUNNEL_* prefix — e.g. TUNNEL_MAXDIM=1024 for sharper frames, TUNNEL_CELLS=1 to force cell rendering even on kitty terminals. See the overview for the full tuning table.