This interactive demo needs WebGPU, which isn't available here. It runs in current Chrome or Edge on Windows, macOS and ChromeOS, Chrome on Android 12+, and Safari 26, with hardware acceleration turned on.
Turn a video of up to 30 seconds into a 3D spacetime cube, a time sculpture of stacked frames you can orbit, scrub and carve, entirely in your browser.
A spacetime cube treats a video as a solid: the two axes of each frame stay put, and time becomes the third. Drop in a clip of up to 30 seconds, or pick one of the examples, and the page samples up to 240 frames evenly across it (12 per second for clips up to 20 seconds, fewer for longer ones), shrinks each frame to 160 pixels on its longest side and stacks them into a 3D texture.
WebGPU ray-marches that texture as a volume you can orbit and zoom. The block starts solid, with the first frame facing you; as the clip plays, each played frame fades into a translucent ghost, so motion leaves a trail through time. The sides of the block are slit-scans: each shows one edge row or column of the picture changing over time.
Two controls shape the time sculpture. Ghost sets how much of the played part stays visible, and Carve cuts away dark pixels, so a subject filmed on black stands alone as a video cube of pure motion.
Everything happens in your browser: the video is decoded on your device and never uploaded.
Techniques: WebGPU, volume ray marching, 3D textures, TSL. An interactive WebGPU demo by Jingfu Chen.