Generates raytraced PNG images. Supports spheres and triangles because they were the easiest shapes to implement.
stack buildThis will produce an executable appropriate for your system somewhere in stack-work/dist.
raytrace-exe <config path> <output path>For example:
raytrace-exe examples/infinity-mirror.yaml ~/Desktop/infinity-mirror.pngOn my machine, inifinity-mirror.yaml takes about 20 seconds to finish running. Reducing the image dimensions is the biggest influence on runtime.