A passage built from light and depth
Rotating Tunnel Illusion is a real-time view through a cylindrical passage. Shaded walls, structural ribs, surface grain and light strips give the scene depth. Forward motion carries the details toward you while a slow roll changes the orientation of the view. You can separate those movements with the controls instead of being locked into one fast spinning animation.
Look around without losing the passage
Drag across the tunnel to change your viewing direction. Small movements let you inspect the wall and fixtures while keeping the vanishing point nearby. Scroll or pinch to change the field of view, or adjust its slider directly. Center view gently restores the forward look without replacing your material or motion settings.
Forward motion controls travel along the passage. Rotation controls the roll rate, and Spin direction reverses that roll. Set either motion slider to zero to isolate the other effect. Wall twist changes the alignment of the fluted surface details. Pause freezes travel and roll while leaving the camera and material controls available.
Three material treatments
- Observatory uses cool gray-blue walls and blue light strips.
- Copper vault changes the walls and lighting to a warmer metallic palette.
- Stone passage uses muted stone colors with softer warm lighting.
The lighting combines a nearby viewing light, surface highlights, emissive fixtures and distance fog. Texture grain is generated in the shader. These treatments create an architectural optical illusion; they are not measurements of real construction materials or a physically complete light-transport simulation.
Fullscreen, controls and photographs
Fullscreen opens the complete playground and resizes the rendered passage to the screen. On shorter displays, settings scroll in their own area. Hide controls folds them away and removes the scene labels, while Show controls remains visible. Neither action resets the passage. Browsers without native fullscreen use a screen-filling page view.
Save image exports the current passage as a JPEG without the interface. Try pausing, changing the field of view and choosing a material before saving. Reset scene restores the original Observatory material, camera, motion settings and rendering selection. A reduced-motion preference starts it paused.
Rendering detail and keyboard controls
WebGL draws the tunnel with a bounded ray-marching shader. Automatic limits the canvas near 900,000 pixels, High detail allows about 1.4 million, and Battery saver lowers the budget to about 450,000. Automatic can reduce resolution further when frames remain slow. Each pixel uses a fixed maximum iteration budget; the tool does not create a growing collection of tunnel objects.
A Canvas fallback builds a simpler shaded passage from a fixed set of rings and wall panels. Its lighting and surface detail differ from the WebGL view. Hidden tabs and playgrounds outside the page skip rendering and motion. This tool is silent and has no sound button.
Click or tap the scene before using shortcuts: Space pauses or resumes, H hides or shows controls, F toggles fullscreen and R resets. Escape cancels an active look gesture and closes the screen-filling fallback. Buttons and sliders retain their normal keyboard interaction.
Two different kinds of endless view
This tunnel creates depth through perspective, shaded geometry and repeated fixtures. For a picture that contains another copy of itself, try Infinite Zoom Experiment. For flight through stars, open Starfield Warp Effect.