/wasm-raytracer

A toy program that implements a simple ray tracer in Rust and JavaScript

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Real Time Ray Tracer Written in Rust and JavaScript

A toy program that implements a simple ray tracer. There is a WASM Rust component and a JavaScript component.

A live sample can be found here.

Building

To build the project just run the following. This will put everything into the dist/ folder.

./build

Then run serve or your favourite static HTTP server.

./serve dist

Then you will see the rendered page at http://localhost:5000.