Steve Trettel · with Henry Segerman, Rémi Coulon, Sabetta Matsumoto

Code: Air Lens · 2020

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

A pathtracer simulating refraction through a spatially varying index of refraction in Euclidean space, modeling how temperature gradients in air can act as a lens. Rays bend continuously according to the local refractive index gradient, computed via raymarching. Controls: WASD to rotate, arrow keys to translate.

Steve Trettel · with Henry Segerman, Rémi Coulon, Sabetta Matsumoto
Open full-screen ↗ ← All demos