A basic Ray Tracer that exploits numpy arrays and functions to work fast.
A basic Ray Tracer that exploits numpy arrays and functions to work fast. The code is written keeping as much readability as possible.
Just clone or download this repo. You'll need to install two packages.
pip install pillow
pip install numpy
See the examples to see how to render the following images:
Some animations: https://www.youtube.com/watch?v=vt9vAcZQT4A
A basic version of this raytracer can be found here: https://github.com/jamesbowman/raytrace