Tracking the mouse in 3D.

Please use a browser that supports "canvas"

Move your mouse in the canvas below and its location is displayed in the viewing window in the left rendering. The orange ray shows all of the 3D locations that are behind the mouse location.

Please use a browser that supports "canvas"
Track the mouse and display its coordinates:
Mouse Coordinates World Coordinates World Ray
(0,0) (0,0,0) ray = (0,0,0)*t, t>=1