back ↩

WASM Raytracer

Leveraging WASM it is possible to create high performance programs running in the client.

This demo uses raytracing to showcase how powerful WASM can be.

Updating the canvas using JavaScript is very resource intensive; using WASM this animation can run even on phone browsers.

The code for this is implemented in Rust, and can be fond here: https://github.com/kanales/raytracer-wasm.