You shouldn't need to pay thousands of dollars and contact for quotes to design an optical system. Trefoila gives you GPU-accelerated ray tracing, MTF, wavefront analysis, optimization, and tolerance analysis for just $49/month. Buy it online, and download instantly.
From glass catalog browsing to Monte Carlo tolerance analysis — the complete toolkit professional optical designers depend on.
Search 1,500+ glasses from Schott, Ohara, Hoya, CDGM, and Hikari. Interactive nd–Vd glass map with wavelength transmission curves.
Wave-optics PSF alongside before/after MTF curves from a completed optimization run. See exactly what the optimizer achieved.
Sensitivity analysis ranks which tolerances matter most. Monte Carlo simulation over 1,000 trials gives a real yield estimate.
All five primary Seidel coefficients (SI–SV) broken down surface by surface. Instantly see which element is contributing most to each aberration.
Automatically allocate tolerances to hit a target RMS spot size. The engine distributes the budget across surfaces based on actual sensitivity.
2D layout, lens data editor, and MTF analysis all visible simultaneously. The integrated workspace keeps you in flow.
Enter and edit your lens prescription in a familiar row-and-column format. Define surface type, radius, thickness, glass, and semi-diameter. See your 2D layout update live alongside the table as you type.
Instant 2D cross-section layout with multi-field ray bundles rendered in real time. Every parameter change redraws in milliseconds. Choose which field angles and wavelengths to display.
Modulation Transfer Function is the industry-standard measure of lens resolution. Compute polychromatic MTF for any number of field angles, tangential and sagittal, against the diffraction limit — in seconds.
A complete picture of image quality in one place. Spot diagrams show where rays land at the image plane per wavelength and field angle. Wavefront analysis reveals the phase error that limits diffraction performance.
Trefoila uses JAX automatic differentiation through the complete ray trace — computing exact analytic gradients instead of slow finite differences. This capability doesn't exist in any commercial tool.
From first-order paraxial properties to wave-optics PSF — the analytical toolkit professional optical designers actually use, all built in.
Wave-optics Point Spread Function via FFT of the pupil with OPD phase. Strehl ratio computed directly from PSF peak intensity.
Tangential and sagittal ray fans for any field point. Chromatic fans overlay all wavelengths to show longitudinal and lateral color simultaneously.
EFL, BFL, f/#, NA, entrance and exit pupil locations, cardinal points, magnification — 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. Sensitivity ranking and inverse sensitivity allocation included.
Trefoila doesn't cut corners — it cuts the bloat. The features professional optical designers actually use, delivered instantly, with no enterprise procurement process.
| Feature | Trefoila | Enterprise Software |
|---|---|---|
| Price | $49/month | Contact sales for quote |
| Instant download | ✓ | ✗ |
| Python API / scripting | ✓ Native | ✗ (proprietary macro) |
| GPU acceleration | ✓ JAX | ✗ |
| Autodiff optimization | ✓ 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 transparent — buy online instantly.
No tiers, no feature walls, no annual lock-in. Everything Trefoila offers, for one transparent monthly price.
Secure checkout. Cancel any time. No contracts.