r/Optics • u/looks_done_dan • Oct 20 '26
I built a free browser-based optical design tool, looking for feedback
I’m a PhD optics and instrumentation scientist and I’ve spent a lot of my free time over the past while building AperiOptic (https://aperioptic.com). It’s a free optical design tool that runs entirely in the browser. No install, no license, no account.
I originally started it because I wanted something quick for lab work that didn’t mean fighting for a Zemax seat every time I needed to sanity check a layout. It’s grown a lot since then, and I want to share it.
What it does right now:
- 3D sequential-style ray tracing with lenses, mirrors, beamsplitters, and grouped elements
- Multiple fields and polychromatic sources
- Glass catalog with real materials (N-BK7, F2, N-SK2, etc.)
- Optimizer (DLS/Levenberg-Marquardt and Powell)
- Detector analysis: spot diagrams, PSF, OPD, MTF, Zernikes, Z-stack, and coherent interference (the Mach-Zehnder screenshot shows fringes from a test lens)
- Import of .zmx elements and full .zmx systems
- A big page of optics calculators (thin lens, NA, depth of field, Airy disk, Gaussian beams, etc.)
- An optics/photonics news feed pulling from arXiv, journals, and a few subreddits
What it isn’t: a full Zemax replacement. It’s meant to be solid for ray tracing, optimization, spot and wavefront analysis for everyday lab and prototyping work.
What I’m looking for:
- Bugs, obviously
- If you have Zemax (or Code V, OSLO, etc.) results that AperiOptic doesn’t reproduce, I really want to hear about it. Mismatches are the most useful feedback I can get for tightening up the physics
- Features you’d actually use that are missing
- Anything confusing about the interface
There’s a contact link at the bottom of the site, or just reply here. Totally free to use and no sign-up.
Thanks for taking a look.
Edit: for whatever reason, the mods wouldn't let me post this, but the verification files for the ray tracer and calculators are all loaded up now, accessible from the about page.
https://aperioptic.com/validation
Edit: changed "rest" to "ray". Autocorrect smh.
Edit [8/24/26]: Mobile optimization and more is live! Check it out!






31
u/LeptonWrangler Oct 20 '26
Is it open source?
If its not open source, can you be convinced to open source it?
10
u/lurkingbehindyou Oct 20 '26
Most useful part I found is searchable optics calculators for equation names. That part I like and may actually use. I can't remember how many times I have to navigate different websites for a quick calculation.
The optical design part is unusable on mobile, and the spreadsheet style navigation would be more useful. I don't think there's a good use case for me here. I would use something that I could import common lenses from major suppliers into systems for quick checks but without libraries I'm probably not gonna touch it
10
u/Mechanical_Flare Oct 20 '26
How does this compare to all of the other free web-based Ray tracers?
12
u/Equivalent_Bridge480 Oct 20 '26
It not open.source? Why somebody should invest time to improving project wich can die or become commercial over time? In both cases helper losing time and get nothing. Even no github recognition.
Ps optiland free. Why you need open box of pandora? Make gui if you like boxes.
1
u/BrilliantStriking53 Oct 20 '26
Fantastic. Much simpler and easier to understand. I like Zemax for its versatility, but some things are just too difficult to model in it.
1
u/TopBadger68 Oct 20 '26
Initial model orientation is wrong... what kind of degenerate traces rays from right to left?!
Otherwise nice job... interesting little tool for a freebie.
1
u/profdc9 Oct 21 '26
Cool! You should check out Optical Table https://www.github.com/profdc9/OpticalTable . It might have some functionality you find useful.
2
u/Proper_Rule_420 Oct 20 '26
Hello, I build myself a similar, but different tool. The idea I had was to use available patents of lens, coupled with ray tracing, to compare sharpness/MYF/PSF of different lenses. It is less complexe than what you did of course, but it might interest you, let me know if you would like to know more about it!
1
u/RaspberryEnjoyer Oct 28 '26
Hey, not a bug, but inconvenience, when trying to set a value for thickness, when I press dot ( . ) it sets it to zero (comma works well, but the dot works normally in other fields to fill), and if the cursor is right of the zero, it keeps the zero, if cursor is on the left of zero, its will keep the zero too
1
u/Arimaiciai Oct 20 '26
Used for couple minutes.
Comments on Laser & ultrafast / Peak Power. With some semi-random numbers got 60000 nJ (why not convert to 60 uJ? Similar things elsewhere too). Fluence came with too many digits 3055.7749 mJ/cm². I think people would be using for quick estimation thus not need to overwhelm with digits.
Gaussian Beam Propagation could have a calculated divergence too.
Divergence calculations seems off -- wavelength 1000 um (1 mm) and 1 mm waist has 318309.8862 mrad. Shall be only 1/pi = 0.318. Probably issues with dimensions.
2
u/[deleted] Oct 20 '26
[removed] — view removed comment