Skip to content

Instantly share code, notes, and snippets.

View wegfawefgawefg's full-sized avatar

wegfawefgawefg wegfawefgawefg

View GitHub Profile
@sevko
sevko / README.md
Created September 3, 2015 16:47
simple Python raytracer

raytracer

A simple Python raytracer that supports spheres with configurable "material" properties (base color and a bunch of light coefficients). To generate a raytraced image of the pre-defined scene, run: python raytracer.py and open image.ppm with a PPM-compatible viewer (eog works fine on Linux):

raytraced spheres

acknowledgements

I found the following resources extremely helpful: