This is a full raytracer written in Scratch that supports ambient, diffuse, and phong lighting, light occlusion and a single level of reflection.
Running this program requires a lot of patience since it can take several hours to render the scene with the pen size set to 2.
This was a lot of fun to write. I think the Scratch team has done a wonderful job in developing such an extinsible language.
Comments
You need to be logged in to post comments
Add a Comment