Path tracer written in Scratch
This is a path tracing renderer I wrote in Scratch. At the time, it was the biggest project I'd ever made, and took several months to complete. The renderer works by casting many rays from each pixel into the 3D scene. The rays intersect with surfaces, and create new rays to bounce off of those surfaces, creating detailed reflections and shadows. These rays create light paths that connect to the light sources, adding lighting to the scene. Eventually, a photorealistic image of the scene is produced, but it can take hours to converge to an acceptable result.

Use WASD to move, arrow keys to look around. Enable "Do Pathtracing?" to activate the more realistic renderer, and adjust the sample count to improve the output quality. You can also select scenes, mess with camera settings, and configure various aspects of the renderer. Hover the mouse over the right area of the screen to show the menu buttons which can be used to show or hide different controls.