(and depending on no external library.)
an assignment I've done for Aalto university's Computer Graphics course and heavily inspired from an antirez's project called jsrt.
- implement triangles from the cpp file
- improve the code
- add planes and maybe boxes
- implement supersampling as an antialising technique
- try to optimize the code with some kindof parallelism in js (?)
would like to see it live!
https://rawgit.com/javierhonduco/traceur/master/ray.html || clone it to your turing complete device