Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fildon/phong
https://github.com/fildon/phong
Last synced: about 22 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/fildon/phong
- Owner: fildon
- Created: 2019-01-22T21:54:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T08:00:10.000Z (over 3 years ago)
- Last Synced: 2023-02-27T23:06:26.343Z (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()