Real-time path tracing in your browser. Inspired by Ray Tracing: The Rest of Your Life
Higher values = better quality, slower render
Maximum number of ray bounces
Shortcuts: R start render, X stop render, P save image
This is a browser-based implementation of a Cornell box raytracer, inspired by Peter Shirley's "Ray Tracing: The Rest of Your Life" book series. The Cornell box is a classic test scene in computer graphics used to validate rendering algorithms.
The implementation uses Monte Carlo path tracing with importance sampling to simulate realistic light transport. Each pixel traces multiple rays through the scene, accumulating light samples to produce the final image.