Hypertrace

Euclidean space

A glass sphere, a diffuse cube, and a partly reflective square-tiled backdrop.

Build and run locally
cargo run --release -p hypertrace-examples --bin euclidean

Browser viewer

A yellow glass sphere and turquoise cube in front of a tiled reflective backdrop.

Optional. Requires WebGPU; starts only when requested.

Native requirements and instructions

Drag to look; Tab locks the mouse. WASD moves; Space/C moves up/down; Q/E rolls. Scroll zooms; R resets. The viewer pauses when hidden or outside the page’s visible area. Open viewer separately.

What to observe

Look through the glass sphere at the cube and backdrop, then compare the backdrop’s reflection with the direct view.

Geometry of the three spaces · Scene construction

Screenshots

Click an image to open its full-resolution PNG.