Simple raytracer written in Rust. Based on "Ray Tracing in One Weekend" by Peter Shirley
Easiest way to run is via cargo run
command:
cargo run --release $WIDTH $HEIGHT $RAYS_PER_PIXEL > image.ppm
Alternatively you can use imgcat to display images directly in your terminal:
cargo run --release $WIDTH $HEIGHT $RAYS_PER_PIXEL | imgcat