Primitives
SaveLabExperimentsApproach

Instruments

Time0.00 s
Bodies0
Kinetic E0.00 J
Excess KE0.00 J
Potential E0.00 J
Total E0.00 J
Momentum0.00
Ang. mom.0.00
Max speed0.00 m/s
Gravity9.81 m/s²
FPS60
Gravity9.81m/s²
Speed1.00×
built on founden.ai
Experiments/Optics

Converging lens simulation: parallel rays to the focus

Send a beam of parallel light through a converging lens and watch every ray, high or low, pass through the same focal point.

Thin lens

1/v − 1/u = 1/f (parallel rays meet at f)

v
image distance, from the lens to where the rays meet (m)
u
object distance from the lens, negative for a real object on the incoming side (m)
f
focal length, positive for a converging lens (m)

What you are watching

This is a ray-tracing scene. Five horizontal rays, 1 m apart, travel from the left toward a thin converging lens at the centre. The dashed line is the optical axis, and the dots marked F sit one focal length from the lens on each side.

At the lens each ray bends toward the axis: the ray on the axis goes straight through, the rays 1 m off bend a little, the rays 2 m off bend more. All five cross at the far focal point, then spread apart again.

Why it happens

A converging lens bends a ray toward the axis by an amount that grows with the height at which it strikes. For a thin lens the rule is simple: a ray at height h has its slope changed by −h/f. A ray parallel to the axis therefore leaves with slope −h/f and crosses the axis exactly a distance f beyond the lens, whatever its height.

For an object at a finite distance the same rule gives the thin lens equation, 1/v − 1/u = 1/f, with distances measured from the lens and positive in the direction of the light (so a real object has a negative u). Parallel light comes from infinitely far away: 1/u → 0 and v = f. This lens is ideal; a real spherical lens focuses its edge rays slightly short (spherical aberration) and blue slightly closer than red (chromatic aberration).

Try this

  1. Drag the lens up or down: the axis and both F points move with it, and the rays, still parallel to the axis, meet at the new F.
  2. Drag the source up or down: the beam shifts but stays parallel, so every ray that still hits the lens passes through F. A ray more than 2.6 m off the axis misses the glass.
  3. Compare the 1 m and 2 m rays: the outer ray's slope changes exactly twice as much, and that proportional bending is why they share a focus.

Questions

Where do parallel rays meet after a converging lens?

At the focal point, one focal length beyond the lens on its axis. That is how the focal length of a lens is defined and measured.

What is the thin lens equation?

Here it is written 1/v − 1/u = 1/f, relating object distance u, image distance v and focal length f. Many textbooks use the equivalent 1/f = 1/u + 1/v, with real distances taken as positive.

More optics experiments

  • ReflectionLaw of reflection
  • PrismDispersion

All 57 experiments

Primitives logoPrimitives

A real-time physics engine you experiment with directly. Real Newtonian mechanics, in SI units, in your browser.

Product

  • Engine
  • Experiments
  • Lab sheets
  • Lab
  • Approach
  • Notes

Legal

  • Privacy Policy
  • Terms of Service

Contact

  • support@primitives.im
© 2026 Primitives. All rights reserved.