An interactive ray diagram for a thin convex lens. Adjust the focal length, object distance, and object height to see how the three principal rays locate the image, and compare with the lens equation.