This is a ray tracer implemented in Rust, following the amazing Ray Tracing in One Weekend book series. Why "Magnetite"? Well, it's made of Iron Oxide (Rust) and I think it looks pretty!
Each example has arguments you can pass them from the command line. To find out more, run cargo run --release --example <EXAMPLE_NAME> -h
.
Run this example using cargo run --release --example random_balls
. It is the cover of the first book in the series with a few minor tweaks.