Applet: A line determined by two points
The position of the thick gray line is determined by the red and green points, which you can move by dragging them with the mouse. If you drag elsewhere in the figure, the whole figure rotates. Rotating the figure can help give a three-dimensional perspective.
This applet is found in the pages
General information about three.js applets