Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simplified raytracing / refraction through a slab of glass
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


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 -i test_img.jpg (with whatever image you like, of course)
Something went wrong with that request. Please try again.