Manipulate the position of a light source and a camera.

The left canvas shows the relative location of the light source, the camera, and an object.
The right canvas shows the scene from the camera's vantage point with the light source used to calculate specular reflection coloring.
Please use a browser that supports "canvas" Please use a browser that supports "canvas"
Manipulate the camera's location and center of view: Manipulate the light:
eye (0.0, 0.0, 5.0) center (0.0, 0.0, 0.0) light location (3.0, 3.0, 3.0)
X: -5.0 +5.0 X: -5.0 +5.0 X: -5.0 +5.0
Y: -5.0 +5.0 Y: -5.0 +5.0 Y: -5.0 +5.0
Z: -5.0 +5.0 Z: -5.0 +5.0 Z: -5.0 +5.0
Shininess = 30.0
0.1 128.0
Light color = (1.0, 1.0, 1.0)
Red: 0.0 1.0
Green: 0.0 1.0
Blue: 0.0 1.0