https://github.com/fildon/phong
https://github.com/fildon/phong
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fildon/phong
- Owner: fildon
- Created: 2019-01-22T21:54:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T08:00:10.000Z (almost 5 years ago)
- Last Synced: 2025-01-19T20:17:55.466Z (over 1 year ago)
- Language: TypeScript
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phong
Originally intended to be an implementation of the Phone illumination model, instead this just became a basic ray tracer.
## Getting started
```bash
yarn install
yarn build
```
Then open `index.html` at the project root.
## Testing
Testing is provided by `Jest` and can be run with:
```bash
yarn test
```
## Linting
Linting is provided by `tslint` and can be run with:
```bash
yarn lint
```
## Special Thanks
To the following link for giving me a lot of help with the maths required:
http://geomalgorithms.com/a06-_intersect-2.html#intersect3D_RayTriangle()