Thick spherical lens
Refracts through two separated spherical or flat faces of selectable catalogue glass; focal distance, spherical and chromatic aberration, and pulse GDD all follow the traced geometry.
Open in the canvas →In the real world
A real singlet has finite centre thickness and two separately refracting surfaces[1]. Its paraxial power therefore depends on both signed radii, the glass index, and the separation between the faces[2]. Effective focal length is measured between principal planes; back focal distance is the rear-vertex-to-focus distance for collimated light, so the two numbers are not generally equal.
At a large aperture, a spherical surface does not send every ray height to one axial point: marginal rays focus closer to a positive lens than paraxial rays, producing longitudinal spherical aberration and its visible caustic[3]. Optical-glass index also varies with wavelength, so an uncorrected singlet has longitudinal chromatic aberration.
In OpticalSetup
OpticalSetup intersects each ray with the two drawn plane or exact circular-arc faces, applies vector Snell refraction at each boundary, tracks the ray while it is inside the glass, and supports total internal reflection. Focal length and back focal distance are derived paraxial summaries of that geometry at the 587.6 nm d line; the tracer never aims rays at either reported point. Spherical and chromatic aberration therefore emerge from the traced surfaces and wavelength-dependent index rather than being drawn as an effect.
In the default left-to-right orientation, positive radius means the centre of curvature lies toward local +x. A biconvex singlet is therefore R₁ > 0 and R₂ < 0; R = 0 makes that face plane. The Shape readout names the resulting profile so the sign convention can be checked directly.
The selectable N-BK7, fused-silica, N-SF5, and N-SF11 models use each glass's published d-line index and Abbe number[4]. If a requested radius is too small for the clear aperture, or the centre thickness would make the faces cross, the inspector shows the exact constructible geometry the tracer uses instead of hiding the adjustment.
Two glass bodies must not touch. The tracer ignores any intersection closer than 0.05 mm along a ray, so a pair of coincident interfaces loses one of them and the ray wrongly exits into air. Building a cemented doublet by pushing two singlets together therefore gives an answer that is not obviously broken, just wrong — measured on a crown+flint pair, the focus lands 4 mm short with one interface silently skipped. Leave at least 0.06 mm between them and both interfaces come back; the inspector warns when anything is closer. That gap costs about 0.1% of the back focal distance, and a real cemented group is a 10–20 µm layer of not-quite-glass anyway. Nested or fully overlapping bodies are a separate unsupported case — boundaries are never merged.
This is a 2D meridional geometric trace with spherical or plane faces only. It does not model skew rays, diffraction, aspheres, full 3D off-axis aberrations, Fresnel/coating behavior, stress birefringence, manufacturing tolerances, temperature dependence, or absorption bands. GDD uses the analytic second derivative of the selected Sellmeier curve and the actual traced distance in glass; the material contribution is generally within a few percent where the catalogue curve is valid. Per-surface transmission is a flat configured percentage applied at each face, not a Fresnel or coating calculation. Treat axial spherical and visible chromatic behavior as meaningful within this model and off-axis behavior as qualitative.
Related components
References
- The Physics Hypertextbook — Spherical lenses
- Thorlabs — N-BK7 plano-convex lenses: the lensmaker equation for a thick lens
- RP Photonics Encyclopedia — Spherical aberrations
- SCHOTT — Optical-glass collection datasheets