A basic raytracer implementation in Rust based on the Ray Tracing in One Weekend book.
$ cargo runThe above command will produce a test.ppm file in the same directory containing the rendered image.
Install wasm-pack. Then run the following commands.
$ wasm-pack build
$ cd www
$ npm run startIt is hosted on GitHub Pages available at http://navinmohan.com/raytracer/
At this point, any changes to the scene has to be made directly inside the code. If you wish to modify the scene start with bin.rs and lib.rs.
