Demos

pathtracer early

pathtracer early

pathtracer

Early GPU pathtracer with diffuse and specular materials in Euclidean space

spectral pathtracer glass ring

spectral pathtracer glass ring

pathtracer

Spectral pathtracer rendering a glass ring with wavelength-dependent dispersion and chromatic effects

Code: Mirage

Code: Mirage

riemannian raytracer

Atmospheric mirage simulated by raymarching through a temperature-dependent refractive index gradient

Code: Sol Euclidean Planes

Code: Sol Euclidean Planes

Code: Air Lens Featured

Code: Air Lens

riemannian raytracer

Light bending through a varying refractive index gradient in Euclidean space, producing a lens effect

Square Orbit Featured

Square Orbit

threejs

Nested tube-shaped orbits interpolating between circles and squares

Code: Schwarzschild Earth Featured

Code: Schwarzschild Earth

relativistic pathtracer

Gravitational lensing of an earth-textured sphere by a Schwarzschild black hole, producing multiple images

Schwarzschild Black Hole

Schwarzschild Black Hole

relativistic pathtracer

Gravitational lensing near a Schwarzschild black hole, with Einstein rings and the photon sphere

Code: Rendering Cocktail

Code: Rendering Cocktail

pathtracer

GPU path-traced cocktail glass with caustics and glass refraction

Code: Rendering Cocktail 1

Code: Rendering Cocktail 1

pathtracer

GPU path-traced cocktail glass variant with alternate scene configuration

Code: Rendering Cocktail 3

Code: Rendering Cocktail 3

pathtracer

GPU path-traced cocktail glass variant with third scene arrangement

Code: Rendering Cocktail 2

Code: Rendering Cocktail 2

pathtracer

GPU path-traced cocktail glass variant with alternate viewing angle

Code: Sl2 Balloons

Code: Sl2 Balloons

riemannian raytracer

Colored balloons in $\widetilde{\mathrm{SL}(2,\mathbb{R})}$, related to the unit tangent bundle of the hyperbolic plane

Code: Hyp Whitehead Complement

Code: Hyp Whitehead Complement

riemannian raytracer

Inside the Whitehead link complement, a cusped hyperbolic 3-manifold of finite volume

Code: Hyp Whitehead Complement Earth

Code: Hyp Whitehead Complement Earth

riemannian raytracer

Inside the Whitehead link complement with earth-textured spheres near the cusps

Code: Sl2 Vertplane

Code: Sl2 Vertplane

riemannian raytracer

A vertical plane in $\widetilde{\mathrm{SL}(2,\mathbb{R})}$ geometry, fibered over the hyperbolic plane

Code: Sol Balloons

Code: Sol Balloons

riemannian raytracer

Colored balloons in Sol geometry, stretched by exponential expansion and contraction

Code: Sol Euclidean Planes

Code: Sol Euclidean Planes

riemannian raytracer

Planes in Sol geometry, distorted by the anisotropic metric

Code: Sol Hyperbolic Planes Featured

Code: Sol Hyperbolic Planes

riemannian raytracer

Totally geodesic hyperbolic planes in Sol, forming two orthogonal foliations

Code: Nil Horizontal Plane Lights

Code: Nil Horizontal Plane Lights

riemannian raytracer

Horizontal geodesic plane in Nil geometry with non-Euclidean lighting

Code: Nil Vertical Plane Lights

Code: Nil Vertical Plane Lights

riemannian raytracer

Vertical plane in Nil geometry with non-Euclidean lighting

Code: Nil Tiling Lights

Code: Nil Tiling Lights

riemannian raytracer

Nil geometry tiling with non-Euclidean lighting from multiple sources

Code: Nil Balls Lights

Code: Nil Balls Lights

riemannian raytracer

Spheres in Nil geometry with non-Euclidean lighting from multiple sources

Code: Nil Balls Light

Code: Nil Balls Light

riemannian raytracer

Spheres in Nil geometry lit by a single point source, showing twisted shadow patterns

Code: Nil Horizontal Plane

Code: Nil Horizontal Plane

riemannian raytracer

Horizontal totally geodesic plane in Nil geometry

Code: Nil Vertical Plane

Code: Nil Vertical Plane

riemannian raytracer

Vertical plane in Nil geometry, distorted by the twisted metric

Code: Nil Tiling

Code: Nil Tiling

riemannian raytracer

Discrete isometry group tiling of Nil geometry

Code: Nil Balloons

Code: Nil Balloons

riemannian raytracer

Colored balloons in Nil geometry, distorted by the helical geodesic structure

Code: Nil Earth Moon Featured

Code: Nil Earth Moon

riemannian raytracer

Earth and moon in Nil geometry, with viewpoint-dependent distortion from non-commutative translations

Code: Nil Earth Moon Lattice

Code: Nil Earth Moon Lattice

riemannian raytracer

Earth and moon arranged in a discrete lattice in Nil geometry

Code: Nil Earth Moon Row

Code: Nil Earth Moon Row

riemannian raytracer

Row of earth and moon spheres in Nil geometry, twisting as they recede

Code: Nil Earth

Code: Nil Earth

riemannian raytracer

Earth-textured sphere in Nil geometry, distorted by the non-commutative Heisenberg metric

Code: Nil 2ball

Code: Nil 2ball

riemannian raytracer

Two spheres in Nil geometry, with helical geodesic distortion

Code: Hyp Coxeter Dodecahedron Featured

Code: Hyp Coxeter Dodecahedron

riemannian raytracer

Coxeter group tiling of $\mathbb{H}^3$ by right-angled regular dodecahedra

Code: Hyp Seifertweber Dodecahedron

Code: Hyp Seifertweber Dodecahedron

riemannian raytracer

Inside the Seifert–Weber dodecahedral space, a compact hyperbolic 3-manifold

Code: Hyp Balloons

Code: Hyp Balloons

riemannian raytracer

Colored balloons in hyperbolic 3-space, distorted by the negative curvature

Code: Hyp Coxeter Cubes Featured

Code: Hyp Coxeter Cubes

riemannian raytracer

Coxeter group tiling of $\mathbb{H}^3$ by right-angled hyperbolic cubes

Code: Hyp Planes

Code: Hyp Planes

riemannian raytracer

Totally geodesic planes (copies of $H^2$) in hyperbolic 3-space

Code: S2e Balloons

Code: S2e Balloons

riemannian raytracer

Colored balloons in $S^2 \times E$, focused by the positive curvature of the spherical factor

Code: S2e Earth S2xs1 Featured

Code: S2e Earth S2xs1

riemannian raytracer

Earth sphere in $S^2 \times S^1$, the compact product of a 2-sphere with a circle

rendering-glass

rendering-glass

pathtracer

GPU path-traced glass object with refraction and caustics

Code: S2e Earth S2factor

Code: S2e Earth S2factor

riemannian raytracer

Earth sphere viewed along the $S^2$ factor of $S^2 \times E$, where geodesics are great circles

Code: S2e Earth Moon

Code: S2e Earth Moon

riemannian raytracer

Earth and moon in $S^2 \times E$ geometry, visible from both sides of the sphere

Code: S2e Cube Tiling

Code: S2e Cube Tiling

riemannian raytracer

Spherical cube tiling extruded along the Euclidean factor in $S^2 \times E

Code: H2e Lattice Earth

Code: H2e Lattice Earth

riemannian raytracer

Earth spheres arranged in a discrete lattice in $H^2 \times E$ geometry

Code: H2e Planes

Code: H2e Planes

riemannian raytracer

Totally geodesic planes in $H^2 \times E$, including vertical, horizontal, and mixed surfaces

Code: H2e Balloons

Code: H2e Balloons

riemannian raytracer

Colored balloons in $H^2 \times E$, distorted by the mixed-curvature product metric

Code: H2e Tiling

Code: H2e Tiling

riemannian raytracer

Hyperbolic tiling extruded along the Euclidean factor in $H^2 \times E

Code: Sph Rectangle Torus

Code: Sph Rectangle Torus

riemannian raytracer

Clifford torus in $S^3$, a flat torus dividing the 3-sphere into two congruent solid tori

Code: Sph Hopf Link

Code: Sph Hopf Link

riemannian raytracer

A Hopf link (two linked great circles) rendered inside $S^3$

Code: Sph Earth Moon

Code: Sph Earth Moon

riemannian raytracer

Earth and moon in $S^3$, with antipodal images visible from light wrapping around the sphere

Code: Sph Earth Featured

Code: Sph Earth

riemannian raytracer

Earth-textured sphere in $S^3$, with the antipodal image visible from behind

Code: Sph Hopf

Code: Sph Hopf

riemannian raytracer

Hopf fibers in $S^3$, showing the fibration of the 3-sphere by linked great circles

Code: Sph Balloons

Code: Sph Balloons

riemannian raytracer

Colored balloons in $S^3$, where all geodesics reconverge at the antipodal point

Code: Sph Ball Collection

Code: Sph Ball Collection

riemannian raytracer

Collection of balls in the 3-sphere $S^3$, visible from multiple directions via great circle geodesics

Code: Sph Quaternion

Code: Sph Quaternion

riemannian raytracer

Inside a quotient of $S^3$ by the quaternion group $Q_8$, a spherical space form

Code: Euc Earth Moon

Code: Euc Earth Moon

riemannian raytracer

Earth and moon in Euclidean 3-space, a baseline flat geometry scene

Code: Euc 3torus Earth

Code: Euc 3torus Earth

riemannian raytracer

Earth-textured sphere in the 3-torus, with an infinite lattice of copies visible through the identifications

Code: Euc Hopf Complement

Code: Euc Hopf Complement

riemannian raytracer

Complement of a Hopf link in Euclidean 3-space, showing tubular neighborhoods of linked circles

Code: Euc 3torus Balloons

Code: Euc 3torus Balloons

riemannian raytracer

Colored balloons in the 3-torus, with copies visible through periodic face identifications

Code: Euc 3torus Generators

Code: Euc 3torus Generators

riemannian raytracer

The three generating translations of the 3-torus lattice in Euclidean space

Code: Euc 3torus Ball

Code: Euc 3torus Ball

riemannian raytracer

Inside the 3-torus, a flat Euclidean manifold with periodic boundary conditions

Code: Euc R2xs1

Code: Euc R2xs1

riemannian raytracer

Inside $\mathbb{R}^2 \times S^1$, a Euclidean product geometry with one periodic direction