2021
[TypeScript: 78% | HTML: 19% | JavaScript: 2% | CSS: 1%]
A minimal ray tracing engine written from scratch in JS. No graphics APIs or libraries are used, only a single HTML5 canvas call to draw the generated bitmap image.
Various effects are supported, including recursive optical reflections and refractions, and Phong shading. Multi-threading is implemented using the Web Workers API.
The raytracer can be used to generate and compare CPU performance benchmarks.