Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 573 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 573 Bytes

A simple Raytracer written in Haskell. It is mostly the result of transcribing the Raytracer described in Ray Tracing in One Weekend.

The initial implementation used Float for the points and vectors, but here I quickly discovered a downside of using this type:

scene using float

The Same Scene rendered using Double:

scene using double

I didn't do a thorough benchmark, but just judging from a single run there doesn't seem to be a big difference.