Geometric Optics Lab
🧰 Toolbox
💡 Light Source
⚙️ Element Properties
📐 Physics Reference
Community Feedback0 Comments
Share Your Experience
Optics Lab — Interactive Ray Tracing Sandbox
This geometric optics sandbox lets you place and configure optical elements — convex lens, concave lens, plane mirror, prism, and glass slab — on a white canvas and trace colored light rays through them in real time. A draggable light source emits up to 15 rays at adjustable wavelength (380–750 nm), angle, and spread. Focal length, refractive index, and rotation are adjustable per element. Rays are traced with up to 12 bounces, and the thin lens equation and Snell's law are shown as a reference panel.
What you can do in this simulation
- Place convex lens, concave lens, plane mirror, prism, and glass slab
- Adjust source wavelength (380–750 nm), ray count (1–15), and beam spread
- Set focal length (30–200 px) per lens and refractive index (1–2.5) per element
- Drag and rotate any element to see ray paths update in real time
- Reference panel shows thin lens equation and Snell's law
Concepts covered
geometric optics · refraction · Snell's law · thin lens equation · total internal reflection · dispersion
Related simulations
- Ray Tracing Optics Lab — Lenses, Mirrors & Prisms
- Refraction Lab — Snell's Law & Total Internal Reflection
- Acoustics & Sound Waves — Interactive Simulator
- Angular Momentum Simulator: The Spinning Skater Effect
- Black Hole Simulator — Gravity & Spacetime
- Brachistochrone Curve Simulator - Fastest Ramp
Browse all Physics simulations →
Related reading
- Thin Lenses, Ray Tracing, and Prisms: Free Online Optics Simulations
- Wave Optics in Your Browser: Interference, Diffraction, and Snell's Law
Free to use in your browser — no signup required. Found a bug or have an idea to make it better? Tell us.
Finished experimenting?
Save one completion to this browser's signed guest ledger, or directly to your account when signed in.