After cloning ray-tracer, run yarn install to fetch its dependencies. Then, you can run several commands:
yarn testruns the complete test suiteyarn build-srccompiles the libraryyarn build-examplescompiles the examplesyarn animate <animation-example-name>generates an animation- Example:
yarn animate spheres
- Example:
yarn generate <highres-example-name>generates a high resolution image- Example:
yarn generate pattern
- Example:
- Render artifacts are written to
build/artifacts
yarn build-docscompiles the web appyarn startstarts the development server- Navigate to
http://localhost:8000/docs
The ray tracer uses right-handed coordinates and counter-clockwise rotation around the axis. Matrices are row-major.
To convert the .ppm files to more common image formats, see FORMAT.md.




