Raytracer
Sections 1-5
  • 2. Gradient
    Basic red-green gradient fill
    a
  • 4. Ray color
    Constant of black
    a
  • 4. Ray color
    Determined by ray direction
    b
  • 5. Basic sphere
    Fixed colour sphere
Raytracer
Sections 6-8
Raytracer
Output
This browser does not support the HTML5 Canvas.
Status
Ready
Status
Control
Raytracer
Reload with alternate canvas width:
Raytracer
Sections 9-11
  • 9. Scattering variations
    Linear
    a
  • 9. Scattering variations
    Linear, with shadow acne fix
    b
  • 9. Scattering variations
    Lambertian
    c
  • 9. Scattering variations
    Lambertian, with gamma
    d
  • 10. Three spheres
    Metal and lambertian
  • 11. Three spheres
    With dieletric material
Raytracer
Sections 12-14
  • 12. Positionable camera
    Red/blue spheres
    a
  • 12. Positionable camera
    Three spheres
    b
  • 12. Positionable camera
    Three spheres, zoomed in
    c
  • 13. Defocus blur
    Three spheres
  • 14. The finale
    Lots of spheres!
    a
  • 14. The finale
    With defocus
    b