Skip to content

Toy ray tracer written in Rust, compiles to native and WebAssembly

Notifications You must be signed in to change notification settings

wtfleming/rust-ray-tracer

Repository files navigation

rust-ray-tracer

Toy ray tracer implementation using Rust from the book The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer by Jamis Buck. Currently implemented features up to chapter 9.

raytraced image

To run as a native application:

cargo run --release

Output will be in the ./renders directory

To compile to WebAssembly and run in a web browser:

cd ray_tracer_wasm
npm install
npm start


npm run build

About

Toy ray tracer written in Rust, compiles to native and WebAssembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published