Here are two skew lines:

Rotate the two line segments with the mouse. Change the distance between them using the lower scrollbar. Push the red points along them using the scrollbars to the left and right. The cyan line shows the shortest distance. The umber line shows the distance between the two red points.

A link back to the list of applets.