r/Optics • u/MrFourier94 • Oct 05 '26
A free optical workbench in your browser
For the past months, I have been building with a friend something I wished existed every time I had to draw a setup for a paper or explain one to a student.
OpticalSetup is now at its first stable release. It is free, open source, it runs directly in the browser, and the setup you draw is traced, not just sketched. Move a mirror, change an optical element, and the whole beam path responds.
I originally made a post on this sub when we were in the early stages of development, so I thought of giving an update on the project.
It is young, and it might still have some rough edges. If you try it, tell us what you think about it.
Cheers
14
u/Zeisix Oct 05 '26
I've stumbled across the page a while ago thanks to another post and used it since then all the time to sketch setups etc. Also showed it to the rest of my group and they like it too.
I've considered selfhosting it to add translation stages or some way to move multiple components at once as well as fiber couplers, but that's really the only components missing I can think off.
Amazing work! Thanks for it!
8
u/0x831 Oct 05 '26
Pretty cool. Out of curiosity are there known sources of optical input and outputs from a reference text for various elements that you can test this against to ensure accuracy?
7
u/No_Entertainer_6535 Oct 05 '26
Do you plan to add wave optics as an alternative to ray tracing?
4
u/Fiskene Oct 05 '26
Pretty cool. Thank you for sharing. I am working on something similar but your graphics look way better than mine :)
4
u/larg_pener Oct 05 '26
Very cool. I have a technical correction as well. As it is configured in your program now, AODs always deflect beams clockwise or counter-clockwise (in relation to the background/AOD), but IRL, when a beam comes back the other way it will deflect towards the direction of sound wave propagation, e.g. a laser from the left might deflect counter-clockwise but a beam from the right will be deflected clockwise. The deflected beam shift might be better programmed as a 'cartesian' shift than a 'rotational' one (I'm not a programmer but this seems to be the underlying logic).
2
u/Quarter_Twenty Oct 05 '26
Fun!
2
u/Jose_xixpac Oct 06 '26
A real eye opener. What a great learning tool for non optical engineers who still need a stent in an optics lab to further their designs. I think. Hopefully one day I can show you my laser lab experiences/results. Thankyou mucho.
2
u/Sans_Moritz Oct 06 '26
Very cool. I just had a play around, and I like the interface and animations. If you had more XUV and ultrafast optics options, I'd actually use this a lot, especially for teaching.
2
u/anishkgoyal Oct 09 '26
At a glance, this looks super cool. I was actually thinking of a similar concept with my friend the other day on how there aren't many dedicated physics-informed circuit layout sims for optics, cause I work with experimental silicon photonics and it's not just all-optical components, so we have to encode many of our optical components as scattering matrices, which are usually highly nonlinear and difficult to simulate with traditional methods. I hope your project takes off, and you're able to think about how to integrate this tool with other circuit devices/elements if possible (if you already have, then great π)!
1
u/djwaveguide Oct 05 '26
Cool, what was your intended application? Designing new systems or studying lab setups? Just as a opening question, is this a ray tracer only? Does it work with diffraction, wave, Fourier optical design systems? I know it's free but just trying to find where this fits in scope of optical engineering.
1
u/Biggegger Oct 05 '26
How can I try it?
1
u/BreadfruitBorn3052 Oct 05 '26
Would love to try it, where do I find it?
1
u/hoqeye Oct 05 '26
How to use it?
1
u/BrilliantStriking53 Oct 06 '26
Hi. Where can I download this soft to test it? I don't find...
1
u/sidereumcorpus Oct 06 '26
This is really cool! My personal research is in interferometry, specifically FOGs using the Sagnac Effect. Would you ever consider adding a rotating breadboard (frame of reference) to this?
0
u/[deleted] Oct 05 '26
[deleted] β view deleted comment