https://github.com/tmcw/literate-raytracer
a literate raytracer in javascript
https://github.com/tmcw/literate-raytracer
explanation toy-raytracer
Last synced: 2 months ago
JSON representation
a literate raytracer in javascript
- Host: GitHub
- URL: https://github.com/tmcw/literate-raytracer
- Owner: tmcw
- Created: 2013-10-09T01:28:49.000Z (almost 13 years ago)
- Default Branch: gh-pages
- Last Pushed: 2020-09-20T21:30:32.000Z (almost 6 years ago)
- Last Synced: 2025-02-16T12:59:02.466Z (over 1 year ago)
- Topics: explanation, toy-raytracer
- Language: HTML
- Homepage: https://tmcw.github.io/literate-raytracer/
- Size: 533 KB
- Stars: 202
- Watchers: 8
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - tmcw/literate-raytracer - a literate raytracer in javascript (others)
README
# literate-raytracer
This is a literate [raytracer](http://en.wikipedia.org/wiki/Ray_tracing_(graphics)),
written in Javascript. The [demo, code listing, and explanation](http://macwright.org/literate-raytracer/)
are all one part: you can understand the implementation by reading it in combination
with literate-style code comments.
This is intended as a learning platform for those trying to connect the mathematical
and engineering explanations of raytracing and understand the behavior of the algorithm
well enough to do interesting things.
## Helping
Submit a normal pull request with more docs or clarified code! To rebuild the literate pages:
npm install
npm run-script doc
## Reading
* [Ray Tracing: Graphics for the Masses](http://www.cs.unc.edu/~rademach/xroads-RT/RTarticle.html)
## Other Raytracers
* [bwiklund/js1k-love-raytracer](https://github.com/bwiklund/js1k-love-raytracer).
* [toy raytracer in python](http://www.lshift.net/blog/2008/10/29/toy-raytracer-in-python)
* [toy raytracer in python ported to coffeescript still no comments](https://github.com/agend07/coffee_raytracer)
This code and accompanying text is released under CC0, or Public Domain where
applicable.