fringe  ·  github  ·  download

wave optics simulator for the mac

you place lenses, prisms, mirrors, slits, gratings or waveguides in a gaussian beam or a plane wave. fringe solves maxwell's equations on the 2d scene and shows the field.

^ a double slit, computed in your browser as a sum of huygens wavelets. it's a rough approximation; the app uses a full solver.

the fringe window with a lens focusing a gaussian beam

what's in it

why i made it

i use it to make cover images, so a few of the colormaps are picked for looks as much as for reading values.

install

brew install --cask lprsrts/tap/fringe

or get the dmg from github releases. it's signed and notarized. a mac app store version isn't out yet.

needs macos 26 or later on apple silicon. free, open source (mit or apache 2.0), runs offline, collects no data (privacy). the command-line version: brew install lprsrts/tap/fringe-cli.

bugs

if something breaks or a result looks wrong, let me know.

— alper (@lprsrts)