Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Lens Lab--A Demonstration of Lens Ray-Tracing with Mathematica

Donald Barnhart
Organization: Optica Software, a division of i-Cyt Mission Technology
URL: https://www.opticasoft.com/
Old MathSource #

Revision date


This notebook is an example of using Mathematica for doing geometric ray-tracing. LensLab defines a set of functions for designing optical systems, including lenses, mirrors, prisms, and other elements. The notebook can compute ray paths through the elements and plot the results in two and three dimensions.

LensLab isn't intended for use in actual optical design, but is meant only to demonstrate the potential of using Mathematica to perform optical modeling. For a description of Optica, a complete system for optical design, see "A Notebook about Optica" by Donald Barnhart (item 166).

*Applied Mathematics > Visualization > Ray Tracing
*Science > Physics > Optics

applied math, physics, optics, lens design, ray tracing, optical design, mirror, screen, prism
Downloads Download Wolfram CDF Player

LensLab.nb (1.2 MB) - Mathematica notebook

Files specific to Mathematica 2.2 version:
LensLab.ma (573.9 KB) - Mathematica notebook