This app shows interactive ray diagrams for five common situations, a plane mirror, convex mirror, concave mirror, diverging lens, and converging lens. Re-position or re-size an object, and see what happens to the image. For the curved mirrors or the lenses, you can also change the focal length to see what happens to the ray diagram.