jakobwesthoff/the_raytracer_challenge_repl

Created Mar 11, 2022 · View the jakobwesthoff/the_raytracer_challenge_repl repository page

A WebAssembly (WASM) based REPL interface for my Raytracer Challenge in Rust project

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

1

Lines of Code

247

From

Dec 15, 2021

To

Feb 28, 2022

About jakobwesthoff/the_raytracer_challenge_repl

This project is a web-based REPL interface for an interactive raytracer built in Rust. The raytracer itself is compiled to WebAssembly, allowing it to run directly in the browser. Users can write scene configuration code in a live editor and see the rendered output update dynamically without needing to install any software locally.

The frontend is built with Svelte and provides a code editor where users can experiment with the raytracer in real time. The project bundles the Rust WebAssembly module with a JavaScript application using Rollup, and includes a ServiceWorker for offline functionality and asset caching. Development can be done locally with hot-reload support through npm scripts, while a production instance is hosted at raytracer.xyz for immediate experimentation.

The project is tied to an educational series where the raytracer implementation itself is developed live on YouTube, making it part of a tutorial effort that shows both how to build a raytracer in Rust and how to expose it to the web using WebAssembly. The combination of Rust backend performance with browser-based interactivity makes it an approachable way for people to learn about rendering algorithms.

Share this video

More from jakobwesthoff

See all →