PathGraph is a flexible in-browser framework for visualizing ray tracing and path tracing algorithms. It lets you write scattering functions directly in the browser and see the results immediately, making it practical for research, teaching, and creating illustrations for academic papers.
The tool includes a path density renderer showing distributions of paths from the camera, a primary sample space visualizer that renders scenes from the camera’s perspective, and the ability to color paths based on attributes such as whether they hit a light source. Finished visualizations can be exported as SVGs for use in vector graphics editors or LaTeX documents.
