A simple ray tracer inspired by the "Ray Tracing in one weeked" book, which display the rendered scene using ascii. The camera can be moved around inside the scene.
I had already written something similar in C++, but now im learning Rust and thought I could rewritte that project to learn more about the Rust programming language.
Make sure you have Rust installed
git clone https://github.com/SlowlyCoding/ascii-ray-tracing-rust
cd ascii-ray-tracing-rust
cargo runThe camera can be moved around
W A S D - forwards, left, backwards, right
Q E - up, down
← → ↑ ↓ - tilt camera
+ - - adjust camera FOV
Esc - quit
You can make your own scene and change some options by adjusting the scene on line 24 inside src/main.rs
