Place an object in front of a lens of variable focal length and observe the image that is formed. The principal rays can be displayed, as well as rays drawn by the user.