Skip to content

xavier/exray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exray

A simple raytracer written in Elixir for fun.

An image rendered with Exray

Features

  • Supports planes and sphere
  • Single ambient light source
  • Diffuse lighting
  • Shadows
  • Reflections
  • Free camera
  • Parallel rendering

Installation

$ 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

Dependencies

It depends on my still experimental ExPNG library for writing the output to files.

Licence

This is Public Domain software. Just have fun with it!

About

A simple raytracer written in Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages