A Haskell implementation of Andrew Kensler's business card ray tracer.
If you don't want to be waiting for several minutes, your best bet is to ensure -O
flag is enabled when compiling.
ghc -O Tracer.hs
./Tracer > output.ppm
This rendition of the ray tracer does not do any multi-sampling (yet) or lambert illumination of the ground tiling.
This source is based on Fabiens breakdown of Andrew Kensler's business card ray tracer.
Special thanks to #haskell
for helping me with my million questions.