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

More from Optics & Light

Other simulators in this category — or see all 44.

View category →
NewSchool

Telescope & Microscope (2 lenses)

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

Launch Simulator
NewSchool

Whispering Gallery (Rays)

Circular mirror: shallow chords refocus acoustic energy opposite the source (geometric optics).

Launch Simulator
NewUniversity / research

Fiber Bragg Grating

λ_B = 2 n_eff Λ; Lorentzian toy reflectivity vs λ and probe wavelength.

Launch Simulator
NewSchool

Laser Speckle

Random phased waves: |Σ e^{i(k·r+φ)}|² grain pattern (qualitative).

Launch Simulator
NewUniversity / research

Bragg’s Law (X-ray)

2d sin θ = nλ vs θ; crystal planes and constructive reflection (schematic).

Launch Simulator
NewKids

Kaleidoscope

N-fold rotation + optional mirror: one bead etches a symmetric mandala trail.

Launch Simulator
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)

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

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

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.