3D lab · Ray optics

Lens and Mirror Ray Tracing in 3D

Trace a full 3D cone of rays through convex and concave lenses and mirrors, and read image distance, magnification and nature.

Last updated: 26 October 2026

Direct answer

Trace a full 3D cone of rays through convex and concave lenses and mirrors, and read image distance, magnification and nature.

A whole cone of rays leaves the tip of the object. For a real image they all meet at one point; for a virtual image they only appear to come from one (dashed).

Simulation

Try it

Lens and Mirror Ray Tracing in 3D

Ray optics

Drag to rotate, two fingers or right-drag to pan, scroll or pinch to zoom. The toolbar has views, cutaway, measure and “show the maths”.

What's happening? A whole cone of rays leaves the tip of the object. For a real image they all meet at one point; for a virtual image they only appear to come from one (dashed).
Learn more

Study this lab with

Study

Watch and try

FAQs

Frequently asked questions

When does a convex lens form a virtual image?

When the object is inside the focal length (|u| < f).

What image does a convex mirror always form?

Virtual, erect and diminished, between the pole and the focus.

<link rel="stylesheet" href="/css/concepts-lab.min.css?v=20261027b">
WA✎
Sitemap