Skip to content

chrisschuette/Raytracer.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rendered scene

Raytracer.js

raytracer.js is a simple raytracer for the Phong shading model implemented in JS. For more information see here.

Raytracing is an elegant technique which allows to determine the radiance of light inciding on the eye of the observer from a particular direction by following the ray backwards out into the scene and examining the surface it was emitted from.

Implementation.

I have implemented the simplest version of these ideas in a ray tracer written in JavaScript. Ray tracing is quite a computationally expensive algorithm and therefore implementing it in a scripting language is a spectacularly bad idea. Nonetheless, the attractive aspects about it where that it can be directly delivered into the browser.

Dependencies.

The project relies on the following dependencies:

Live Demo.

A live demo can be found here.

About

simple raytracer for the Phong shading model implemented in JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published