Lens

Gallery / focus

Focus

How a convex lens bends light into an image: watch an object glide toward a lens, or move it yourself and see where the image lands.

playablemodelopticslighthow it works

A simplified model: it leaves things out on purpose so the main idea is easy to see.

Theater Download standalone file

What you are looking at

A convex lens (thicker in the middle) sits in the centre on a horizontal line called the axis. The marks labelled F are its focal points, one focal length away on each side; 2F marks twice that distance. The white arrow on the left is an object, and light leaves its tip in every direction.

Three rays are easy to follow, and any two of them are enough to find the image:

Where those rays meet, the lens forms an image of the tip of the arrow.

What changes as the object moves

The rule behind it

For a thin lens, 1/f = 1/do + 1/di, where f is the focal length, do the distance to the object and di the distance to the image. The image's size compared with the object is -di/do; a negative size means upside down. The readout at the top of the piece shows these numbers as they change.

What this leaves out

This is a simplified model: a perfectly thin lens, light of one colour, and no blur at the edges. Real lenses bend different colours slightly differently and are not perfectly thin, which is why camera lenses are built from several pieces of glass.

Try it

Switch to Play and drag the object distance slowly from 9 down to 0.6. Then make the lens stronger (a shorter focal length) and notice how everything moves closer.

Embed this piece

Paste this into any web page. It keeps a link back here, and the frame asks the browser to allow full screen.

Open the bare embed

Settings can ride in the address, for example ?mode=play&calm=1&controls=0.

Credits