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

Read full text
Authors: Patrick Kilcullen, Tsuneyuki Ozaki, Jinyang Liang
Cited by: 0

Abstract

Modern optical design and simulation software, while both powerful and feature-rich, demands heavy 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 today 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.

Fields of Study & Subjects

Advanced optical system design Computer Graphics and Visualization Techniques Optical Systems and Laser Technology

Publication details

Journal / source
Figshare
Publication date
1 January 2026