M-TRACE: a MATLAB toolkit for animated raytracing based on scalable vector graphics illustration

Modern optical design and simulation software, while both powerful and feature-rich, requires significant training investment for effective use, even for simple optical design tasks. By contrast, software for two-dimensional (2D) non-sequential raytracing, while sufficient for many optical design tasks and popular for educational purposes, has remained without the benefit of mature computer-aided design (CAD) technologies that are now a key feature of software dedicated to three-dimensional (3D) optical design. To overcome this limitation, we introduce M-TRACE—an open source toolkit for non-sequential 2D raytracing with scripting-based customization and animation capabilities implemented in MATLAB. This toolkit allows users to specify optical designs using tools compatible with free-form 2D illustration via scalable vector graphics (SVG), analogous to the integration of 3D CAD technologies with enterprise optical design software. The intuitive and precise drawing features of SVG illustration software (e.g., Adobe Illustrator, Inkscape) allow for a straightforward means for the creation of system designs. We intend M-TRACE to complement the spectrum of available optical design software for research, development, and education, specifically targeting design cases requiring rich visualization and/or rapid exploration.

Authors

Publication Details

Journal
Optics Continuum
Published
2025-12-18
DOI
https://doi.org/10.1364/optcon.583203
Primary Topic
Computer Graphics and Visualization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

M-TRACE: a MATLAB toolkit for animated raytracing based on scalable vector graphics illustration

Patrick Kilcullen, Jinyang Liang, T. Ozaki
Optics Continuum
Computer Graphics and Visualization Techniques
article

M-TRACE: a MATLAB toolkit for animated raytracing based on scalable vector graphics illustration

Patrick Kilcullen, Jinyang Liang, T. Ozaki
article en

Abstract

Modern optical design and simulation software, while both powerful and feature-rich, requires significant training investment for effective use, even for simple optical design tasks. By contrast, software for two-dimensional (2D) non-sequential raytracing, while sufficient for many optical design tasks and popular for educational purposes, has remained without the benefit of mature computer-aided design (CAD) technologies that are now a key feature of software dedicated to three-dimensional (3D) optical design. To overcome this limitation, we introduce M-TRACE—an open source toolkit for non-sequential 2D raytracing with scripting-based customization and animation capabilities implemented in MATLAB. This toolkit allows users to specify optical designs using tools compatible with free-form 2D illustration via scalable vector graphics (SVG), analogous to the integration of 3D CAD technologies with enterprise optical design software. The intuitive and precise drawing features of SVG illustration software (e.g., Adobe Illustrator, Inkscape) allow for a straightforward means for the creation of system designs. We intend M-TRACE to complement the spectrum of available optical design software for research, development, and education, specifically targeting design cases requiring rich visualization and/or rapid exploration.

Optics ContinuumVol. 5(1)
Openalex Percentile: Top 39%
Computer Graphics and Visualization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.