A simple raytracer written in Elixir for fun.
- Supports planes and sphere
- Single ambient light source
- Diffuse lighting
- Shadows
- Reflections
- Free camera
- Parallel rendering
$ git clone git@github.com:xavier/exray.git
$ mix deps.get
$ mix compile
To see the results:
$ mix run examples/example.exs && open scene.png
It depends on my still experimental ExPNG library for writing the output to files.
This is Public Domain software. Just have fun with it!