RayTracer


This project is a raytracer. Requirements were to add an object of our own and add refraction to light transmitted through the objects. I chose to add a box object although I rather misnamed the new object as a cube. Refraction is also demonstrated with objects of both index of refraction 1 and 1.52 (glass). I included an image of the final applet outcome since they are rather slow in scanning each line of the image.
Example applets:
The Source Code: Note that all .java files are actually located in the same file containing all the classes.