This applet demonstrates the conversion of coordinates between two Euclidean 2D spaces the first is the plane of the camera (or your screen) with coordinates U, V and the second is the plane of applet with coordinates X,Y,0 Z coordinate is added only to demonstrate that it's not possible to map from 2D to 3D directly but the conversion from 3D to 2D is simple