Running an old C-based CPU ray tracer computer science assignment in Wasm.
- Install C build tools for your platform.
- Install emscripten.
- Run
make.
- Tweak
input.jsto build out a ray traced world. - Tweak the raytracer settings in
index.htmlto adjust the rendered size and quality.- There's also a CSS style that determines the canvas width.
- Run
make runto start a local web server and load the project.
- Run
make clean.
