Available in your browser and as a native desktop app. Trefoila runs ray tracing, MTF, wavefront analysis, optimization, and tolerance analysis for $49/month, and it's free while we're in public beta.
These are the tools optical designers actually open on a daily basis, from glass catalog browsing through Monte Carlo tolerance analysis.
Search 1,500+ glasses from Schott, Ohara, Hoya, CDGM, and Hikari, with an interactive nd–Vd glass map and wavelength transmission curves.
Wave-optics PSF alongside before/after MTF curves from a completed optimization run, so you can see exactly what the optimizer achieved.
Sensitivity analysis ranks which tolerances matter most, and Monte Carlo simulation over 1,000 trials gives you a real yield estimate.
All five primary Seidel coefficients (SI through SV) broken down surface by surface, so you can instantly see which element is contributing the most to each aberration.
The engine automatically allocates tolerances to hit a target RMS spot size, distributing the budget across surfaces based on actual sensitivity.
2D layout, lens data editor, and MTF analysis are all visible at once so you can stay in flow without switching windows.
You enter your lens prescription in a row-and-column format with surface type, radius, thickness, glass, and semi-diameter, and the 2D layout redraws live alongside the table as you type.
The 2D cross-section layout renders multi-field ray bundles in real time and redraws in milliseconds whenever you change a parameter, and you can pick which field angles and wavelengths to display.
MTF is the industry-standard measure of lens resolution, and Trefoila computes polychromatic MTF for any number of field angles (tangential and sagittal, against the diffraction limit) in seconds.
Spot diagrams show where rays land at the image plane for each wavelength and field angle, while wavefront analysis shows the phase error that limits diffraction performance, and both update live when you change the prescription.
Most problems just need DLS, but harder problems need a global search that can climb out of local minima, and Trefoila includes both so you can switch optimizers without rebuilding your merit function.
Everything computes from the same prescription table with no import/export step and no switching between separate tools.
Wave-optics Point Spread Function computed via FFT of the pupil with OPD phase, and the Strehl ratio comes directly from PSF peak intensity.
Tangential and sagittal ray fans for any field point, with chromatic fans overlaying all wavelengths to show longitudinal and lateral color simultaneously.
EFL, BFL, f/#, NA, entrance and exit pupil locations, cardinal points, and magnification, all computed from paraxial ray trace.
All five primary Seidel coefficients (spherical, coma, astigmatism, field curvature, distortion) with surface-by-surface breakdown.
OPD fan plots with Zernike decomposition (11 Noll terms), piston and tilt removal, and RMS wavefront error in waves.
Monte Carlo over 5 tolerance types (radius, thickness, tilt, decenter, and index), with sensitivity ranking and inverse sensitivity allocation included.
Ray tracing, MTF, wavefront, optimization, and tolerancing are all covered, the same as the enterprise tools, but you just download, enter a license key, and start working.
| Feature | Trefoila | Enterprise Software |
|---|---|---|
| Price | $49/month | Contact sales for quote |
| Instant download | ✓ | ✗ |
| Multiple optimization methods (DLS, DE, Nelder-Mead) | ✓ Unique | ✗ |
| Ray tracing engine | ✓ | ✓ |
| MTF analysis | ✓ | ✓ |
| Wavefront / OPD | ✓ | ✓ |
| Tolerance analysis | ✓ | ✓ |
| Optimization engine | ✓ | ✓ |
| macOS support | ✓ | ✗ |
| Linux support | ✓ | ✗ |
| No enterprise procurement | ✓ | ✗ |
* Enterprise software typically requires a quote process. Trefoila pricing is listed on the page; buy online instantly.
$49/month gets you the full app with no feature tiers, no annual commitment, and no sales call required to find out what it costs.
Free until April 30, 2026. Then $49/month, cancel any time.