raytrace
A comparison between original raytrace.ts performance VS a hand-written JS port.
Live Test - both pages show render time in console
- original TypeScript targeting ES2022 code
- hand-written JavaScript
Licence
The original TypeScript version and this JS translation are licenced under the Apache-2.0 licence.
How to test locally
- fork or clone this repo
- enter
raytrace
directory (cd raytrace
) npm i
npm run build
- run any local server to test
raytracer.html
orrt.vanilla.html
on your localhost