As part of a project for my Computer Graphics class, I implemented a ray tracing algorithm using Python. Ray tracing is method of rendering digital images that mimics the way real light works. A ray of light (represented by a vector) is shot through each pixel. The angle by which a ray of light leaves each pixel is calculated based on the FOV (field of vision) and the position (in x, y z coordinates) of the camera. The algorithm then iterates over each object & calculates whether the ray of light intersects with any objects. If a ray of light intersects with an object, the color is calculated based on normal vector of the object’s surface relative position to the light source.