ray-tracer-app icon indicating copy to clipboard operation
ray-tracer-app copied to clipboard

Demo app for my ray tracing engine

Ray Tracer Demo

A ray tracing demo using Rust and WebAssembly

Live Demo

Demo Page

Components

Core Ray Tracing Engine

Communication with web worker

WebAssembly Wrapper

  • Rust / wasm-bindgen (source)

Single Page App

Building

# Build wasm
# Prerequisite: cargo and wasm-pack
cd wasm
wasm-pack build --target web

# Start the app
cd ../client
npm install
npm run start