Design software

JEKray

An optical bench simulator and lens-design workspace that shows the waves as well as the rays.

Lay out sources, lenses, mirrors, fibre and detectors on a virtual breadboard and see the light traced as you move them: exact rays through real glass, diffracted Gaussian beams with interference and polarisation, in 2D and 3D. Then design the lenses themselves: optimise them, analyse them, tolerance them, draw them for the workshop and send them to CAD.

Free, in your browserNothing to installNo account neededOpen beta
The JEKray bench in its 3D view: a grating spectrometer, the mercury lines fanning out past the grating onto the detector plane
A grating spectrometer, turned in the 3D view. Drag any part and the light follows.
Checked against published results

Makers’ lens filesThorlabs and Edmund .zmx and .zar files import and focus to the makers’ stated focal lengths and back focal lengths.

Published resultsFox and Li’s resonator losses, Safronova’s atomic polarisabilities, measured rubidium absorption and a levitated nanosphere’s damping, reproduced from the papers.

Lens designReal rays, Seidel aberrations and Strehl ratios of a singlet and a Cooke triplet against an independent ray tracer; every analysis against closed-form results; CAD exports checked in an independent CAD kernel. Some 870 automated checks in all. The validation page.

Who it is for

Research groups

Plan a bench before cutting metal: mode-match a laser to a cavity, lay out an interferometer, check a lock error signal. Keep the group’s benches in one team workspace with their history.

A cavity finding its mode

Teaching

Forty-eight examples students can open and break: a Michelson, a Fabry–Pérot, a grating spectrometer, optical tweezers. One licence covers a whole university, with no seats to manage.

For universities

Lens design in industry

Take a lens from first idea to the workshop: optimise it, tolerance it for yield, match it to stock lenses, then hand over ISO 10110 drawings, a .zmx file and STEP solids for the mechanical design.

Lens design
One bench

Simulate the whole bench

Free-space optics, fibre and the electronics after the detector, with photonic chips too, solved together on one bench across as many tabs as you like. Light leaves a fibre and enters free space, lands on a photodiode and carries on as a signal through amplifiers, mixers and lock-ins to an oscilloscope.

An all-fibre Michelson interferometer with a circulator, a coupler and Faraday mirrors
Waves, not just rays

Rays, Gaussian beams and the full diffracted field

Exact rays through real glass, each carrying its polarisation and optical path. Gaussian beams followed through every branch, so interferometers show fringes and cavities resonate. And the diffracted field where rays cannot tell the story: slits, masks, a tight focus, a vortex beam. Raise, tip and roll any part and the light follows in 3D, the field glowing along each beam in calibrated W/cm².

The diffracted field drawn as a glowing volume in the 3D view
Lens design

Design lenses from scratch

From a singlet to a multi-element assembly: build the prescription with solves and pickups, aspheres, freeforms, diffractive surfaces and graded glass, and zooms as configurations. Optimise for a merit function you build, search for new starting points, and choose from some 1,200 glasses in the makers’ catalogues. Then look at it from every side: spots, fans, wavefront, PSF and MTF, relative illumination, ghosts, polarisation, temperature, and a picture as the lens would form it.

How lens design works

The whole lens-design workspace for a Cooke triplet: its design conditions, the layout with rays at three fields, its first-order figures, the tabs, and a test chart beside the same chart as the design forms it
To the workshop

From design to drawing to CAD

Tolerance it with sensitivity, Monte Carlo and inverse sensitivity, with compensators and a yield against your specification. Draw each lens in the manner of ISO 10110 and the whole design as a report. Export a .zmx file, or STEP solids and an STL mesh for the mechanical design. And bring your own stock lens files to find which could stand in for each lens, and how well.

A lens drawing in the manner of ISO 10110: the lens in section with its dimensions, its surfaces, glass and tolerances, and a title block
RF and millimetre waves

Quasi-optics from 1 GHz to 3 THz

Feed horns, RF lenses, mirrors, wire grids and mesh filters, with the beam’s diffraction worked out properly at these wavelengths. Plastic lenses made to order, solid or graded in density, show their loss, how well the beam fits them, and whether they are manufacturable. Sweep a link across frequency for its S21 and link budget, steer the beam off axis, and take the signal on to a mixer and a spectrum analyser.

The RF designer designs a whole system, from a feed horn’s beam through its lenses to a collimated beam, a waist or a receiving horn: lenses made to suit the beam (hyperbolic, graded-index or cut in zones), every loss over the band, optimised and toleranced, then a drawing and a quote for each lens.

RF on the bench · The RF designer

A 24 GHz feed horn and a graded-index RF lens focusing its beam onto a target 400 mm away
JEKrayPro

Your benches online, alone or as a team

Sign in with Google or Microsoft and benches save as you work, with their whole history. Fork one to try an idea and merge it back. Keep your own parts in My parts. A team shares one workspace with roles, invitations by email, one editor at a time and an activity record. Export everything at any time, and delete your account whenever you like.

Get JEKrayPro · For universities

My benches in JEKrayPro: folders down the side and saved benches as cards with their pictures
The physics

Everything else it models

Beyond the rays and the field, each part carries the physics that makes it work, so a bench behaves as it would in the lab.

Lasers and cavities

  • Gain media, laser threshold and the best output coupler
  • Cavity modes, finesse and linewidth, misaligned cavities included
  • A cavity finding its own mode, as Fox and Li found it
  • Line widths and coherence length: fringes that fade as they should

Pulses

  • Ultrafast pulses through glass, gratings and compressors
  • Dispersion and chirp, pulse by pulse
  • Self-phase modulation and solitons in fibre

Nonlinear and active optics

  • Frequency doubling in PPLN and PPKTP, by Boyd and Kleinman’s theory
  • EOMs and AOMs with their sidebands and frequency shifts
  • Fibre amplifiers and semiconductor optical amplifiers

Atoms and traps

  • Rubidium, caesium and potassium vapour cells: hyperfine lines, Doppler broadening, saturated absorption and the Zeeman effect
  • Optical forces on atoms and particles: tweezers, dipole traps and lattices
  • Levitated nanoparticles, with their trap frequencies and damping

Polarisation and shaping

  • Waveplates, polarisers, Wollaston prisms and birefringent crystals
  • Faraday rotators and isolators
  • Masks, spatial light modulators and vortex beams
  • Vector fields at a tight focus

Signals and workflow

  • Photodiodes, transimpedance amplifiers, mixers, lock-ins, oscilloscopes and spectrum analysers, with their noise
  • Pound–Drever–Hall and other lock error signals
  • Sweep any setting and watch the bench change
  • Mounts from CAD as STL, part packs and your own models as mods

See it work

Open an example from the gallery and drag a lens: the light is traced again as you move. Read the spectrum on the detector, turn the bench in 3D, find any part in the picker, and save the bench to the cloud with JEKrayPro, beside your team’s.

Pricing

The simulator is free, with or without an account, under the JEKray Licence. JEKrayPro adds the cloud. Prices include VAT where it applies; payment is taken by Stripe and you can cancel any time. If a subscription ends, every bench can still be opened and exported.

Free
£0
  • The whole simulator
  • 48 examples and a guided tour
  • Lens design, tolerancing and drawings
  • Save .jekray files and share links
  • Import .zmx and .zar lens files
Launch
Academic
£4.99 a month, or £49 a year
  • Everything in Pro
  • For students and university staff
  • Confirmed by a university address
Check I qualify
Team
£9.99 a seat a month, or £99 a year; at least 3
  • One shared workspace
  • Owner, admins and editors; viewers free
  • Invitations by email
  • One editor at a time, activity record
  • Pro on each member’s own benches
Create a team
University
Per year by invoice
  • Everyone at the university
  • No seats to manage
  • Signs in with the university account
  • Data protection agreement
Ask for a quote

JEKrayPro Terms · Privacy · Security · Accessibility

Examples

Each example opens in the editor, ready to explore. Click any part to see its settings and results. Here they are by topic, or browse them all in the editor’s gallery.

Interference and cavities6 examples
Diffraction and imaging11 examples

Young’s double slit

A laser through a double slit onto a screen 1 m away. The fringes come from the diffracted field.

Open in JEKray →

Poisson’s spot

A bright spot at the centre of a round beam block’s shadow.

Open in JEKray →

Plano-convex: which way round?

The same lens facing each way. Compare the spherical aberration at the two foci.

Open in JEKray →

Aberrations of a singlet across the field

A lens behind an aperture stop, swept to ±5°: spot diagrams, Seidel and Zernike terms, field curvature and barrel distortion.

Open in JEKray →

Tight focus, vector

A perfect lens with a 3 mm focal length. At this numerical aperture the focal field is computed as a vector.

Open in JEKray →

Maltese cross

A steeply focusing lens between crossed polarisers. Fresnel coefficients leave a four-leaf pattern.

Open in JEKray →

Off-axis parabola

A 90° off-axis paraboloid focuses a collimated beam to a point with no aberration. Set the conic to 0 to see a sphere’s.

Open in JEKray →

Axicon: a Bessel beam

A 1° axicon turns a Gaussian beam into a line focus, a Bessel beam that keeps its narrow core for over 100 mm before opening into a ring.

Open in JEKray →

Vortex beams: mode converter and SLM

A Laguerre–Gauss vortex through a cylindrical-lens mode converter comes out as a Hermite–Gauss mode turned 45°. A fork hologram on an SLM focuses to a dark-centred ring.

Open in JEKray →

Optical differentiator

A 4f system with a ramp in its Fourier plane: what comes out is the derivative of the light that went in.

Open in JEKray →

Optical integrator

The same 4f system with a 1/x mask in its Fourier plane integrates the light instead.

Open in JEKray →
Polarisation and spectra5 examples
Fibre4 examples
Atoms and traps8 examples

Saturated absorption, rubidium

A weak probe and a strong pump through a rubidium cell: the Doppler-broadened D2 line, with sub-Doppler Lamb dips and crossovers where pump and probe meet the same atoms.

Open in JEKray →

Polarisation spectroscopyBeta

A circularly polarised pump makes the cell birefringent for the probe at the sub-Doppler lines: a balanced pair of diodes reads a dispersive lock signal with no Doppler background.

Open in JEKray →

DAVLL laser lock

A magnetic field splits the rubidium lines for the two hands of circular light; a quarter-wave plate, a polarising cube and two diodes turn that into an error signal across the whole line.

Open in JEKray →

Faraday filter

A hot rubidium cell in a field between crossed polarisers: Faraday rotation passes light only within a few GHz of the lines.

Open in JEKray →

Optical dipole trap, rubidium

2 W at 1064 nm focused to 34 µm: the screen’s Trap tab gives a 150 µK trap for ⁸⁷Rb, its trap frequencies and the photon scattering rate, from the diffracted field.

Open in JEKray →

Two-dimensional optical latticeBeta

Four beams from one laser, crossed at a point: a checkerboard of traps for rubidium, each site 0.3 mK deep with 160 kHz trap frequencies.

Open in JEKray →

Optical tweezers in water

A water-immersion objective, NA 1.2, holding a 120 nm polystyrene bead: stiffer across the polarisation than along it, and overdamped by the water.

Open in JEKray →

Levitated nanoparticle in airBeta

A 150 nm silica sphere in an NA 0.8 tweezer at 5 mbar: trap frequencies near 180 kHz and the quality factor the gas leaves each motion.

Open in JEKray →
Pulses2 examples
Nonlinear optics2 examples
Electronics1 example
RF and millimetre waves9 examples
Photonic circuits1 example
From a paper1 example

Resources