- Install GHC
- Download source code
- Go open a terminal next to the source code
- Build the source and run it like so:
ghc -O2 -dynamic -main-is Raytrace Raytrace.hs && time ./Raytrace > image.ppm
(You can remove -O2
if it is taking too long to compile, but it will result in longer render times)