PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 50 in Optics & Light.

View category →
FeaturedSchool

Lens Simulator

Launch Simulator

Converging and diverging lenses with ray diagrams and image formation.

NewSchool

Telescope & Microscope (2 lenses)

Launch Simulator

Kepler / Galileo / microscope presets; paraxial rays, M, f_obj/f_eye hint.

NewSchool

Chromatic Aberration

Launch Simulator

Cauchy n(λ); thin-lens f(λ); paraxial rays R/G/B.

NewSchool

Fermat's Principle

Launch Simulator

OPL = n₁AP+n₂PB vs hit point; minimum = Snell path.

NewUniversity / research

Fourier Optics 4f System

Launch Simulator

Object → lens → Fourier plane → spatial filter (low/high-pass) → lens → image; 2D FFT with circular aperture in spectrum.

NewSchool

Newton’s Rings

Launch Simulator

Spherical lens on flat glass: air-film thickness fringes; optional π phase on reflection.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Optical Bench (sandbox)

Optical Bench (sandbox)

Up to 4 elements: thin lenses, vertical mirrors, wedge δ; paraxial ray trace.

Optical bench (paraxial)

3
-0.4
0.06
Element 1
-0.02
0.2
Element 2
0.18
Element 3
0.38
0.11
Element 4
0.08
5°

Ideal thin lenses use θ′ = θ − y/f at the vertex; a vertical mirror flips propagation along x and sends y′ = y with slope negated; a thin wedge adds a constant δ to the slope (sign by convention). Rays: yellow = parallel to axis, green = chief toward first bench height on axis, blue = weak third ray.

Shortcuts

  • •Presets place lenses, mirrors, prisms; avoid two elements at the same x
  • •Increase active elements to enable the 4th slot

Measured values

First bench x (chief target)-0.020
Max segments − 1 (bounces)3

About this model

A paraxial sandbox on one axis: straight-line segments with slope m = dy/dx. At a thin lens at x, the ray height is continuous and the angle changes by Δθ = −y/f (Gaussian thin lens in air). A vertical plane mirror reverses propagation along x and sends m → −m. A thin wedge is modeled as a constant additive deviation δ on θ at the vertex. Elements are processed in travel order; mirrors can send rays back through upstream optics.

Who it's for: Students who already used the single-lens and two-lens pages and want to compose systems freely.

Key terms

  • paraxial optics
  • thin lens
  • plane mirror
  • prism
  • ray tracing

How it works

Sandbox optical axis: place up to four thin lenses, vertical plane mirrors, or thin wedges (constant δ). Paraxial tracing follows straight segments with θ → θ − y/f at each lens, θ → −θ at a vertical mirror (light runs backward along x), and θ → θ + δ at a prism. Compare two-lens imaging, a periscope-style double bounce, or a prism feeding a lens.

Key equations

θ′ = θ − y/f (thin lens, small angles)
mirror (vertical): slope m′ = −m · direction along x reverses
wedge: θ′ = θ + δ (toy constant deviation)

Frequently asked questions

Why do two elements at the same x behave oddly?
The tracer assumes distinct vertical planes. Separate lens, mirror, and prism positions slightly along the axis.
Is the prism physically accurate?
No — it is a teaching stand-in (constant δ). Real prisms use Snell’s law at two surfaces and wavelength-dependent n.