← Back to the interactive toolbox
DIYFORGE TOOLBOX · PHYSICS & OPTICS

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.

Δy = λL / dn₁ sin θ₁ = n₂ sin θ₂1/f = 1/dₒ + 1/dᵢ

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.

LIVE WAVE FIELD · SIGNED AMPLITUDE
Fringe spacing2.20 mm
Maximum intensity4 relative units
Central maximum shift0 mm

Calculated screen intensity profile · bright bands are constructive interference

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.