Skip to content
3D & Experimental

InfiniteTunnel

A night drive through a road tunnel that never ends: tiled walls, lamp strips, a wet road that mirrors them, tail lights ahead. The mouse looks around; hold a press, Space or Enter to speed up. WebGL, no three.js.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
lampstring"#ff9a3c"Six-digit hex colour of the tunnel lamps.
speednumber11 is the default pace; 2 is twice as fast.
labelstring"A night drive through an endless road tunnel..."Name read out by screen readers.
classNamestring"aspect-[16/9] w-[28rem]"Set the size here.