Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmcw/literate-raytracer

a literate raytracer in javascript
https://github.com/tmcw/literate-raytracer

explanation toy-raytracer

Last synced: 29 days ago
JSON representation

a literate raytracer in javascript

Awesome Lists containing this project

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.