Skip to content

jleppert/raytracing.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracing.js

Raytracer written in plain javascript. Supports multiple threads using web workers, lambertian, metallic and dielectric materials. Currently can render flat plains and spheres.

There are some bugs; this was primarily written as a learning project.

Here's a link to a running version with a random scene of spheres pictures above:

http://stuffzies.com/demos/raytracer/index.html