Waves & Optics Explorer
Explore how waves combine, why light bends between materials, and how lenses form images. Change the physics and inspect the diagrams as the results update.
Young's double-slit experiment
Two coherent sources overlap. Where their waves arrive in phase, they reinforce; where they arrive out of phase, they cancel.
Calculated screen intensity profile · bright bands are constructive interference
Refraction & total internal reflection
Snell's law relates the ray angles to the refractive indices of the two media.
Thin-lens image formation
Move the object and change focal length. The principal-ray diagram and image properties respond immediately.
1 · Superposition
When waves overlap, their displacements add. Constructive interference produces a larger amplitude; destructive interference reduces or cancels the result. For two equal coherent sources, fringe spacing grows with wavelength and screen distance, and shrinks as source separation increases.
2 · Refraction
Light changes speed when it enters a medium with a different refractive index. Its frequency stays constant while wavelength changes. Snell's law predicts the transmitted ray; beyond the critical angle, total internal reflection occurs.
3 · Image formation
A converging lens can form real or virtual images depending on object distance. A diverging lens with a real object forms a virtual, upright, reduced image. Magnification gives the signed image-to-object height ratio.
4 · Model limits
The wave field is a simplified scalar-wave illustration. Refraction uses one refractive index per medium and ignores dispersion and absorption. The lens model is paraxial and thin; it does not model aberrations, lens thickness, aperture diffraction or image brightness.
Model scope & sign conventions
Calculations use SI units internally. Double-slit fringe spacing assumes coherent, monochromatic sources and a screen much farther away than the slit spacing. Refraction angles are measured from the surface normal. For lenses, positive image distance means a real image on the outgoing side; negative image distance means a virtual image. Magnification is negative for inverted images and positive for upright images. Diagrams are explanatory, not exact scale drawings.
Educational idealisations — not optical design software or a substitute for laboratory measurement.