Skip to content
Simplified raytracing / refraction through a slab of glass
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE
README
glassmath.py
glasstracer.py
glassworld.py

README

An experimental simplified ray-tracer, which will ultimately allow you to input any image and see what it would look like when seen through a slab of glass of the specified thickness. Currently shows what the input image looks like when seen through a certain window into the world, but no glass slab has been implemented yet.

To use, first install numpy, then stick your starter image in the same directory and you can just do: python glasstracer.py -i test_img.jpg (with whatever image you like, of course)
Something went wrong with that request. Please try again.