Hologram Simulator: How Holograms Are Recorded and Played Back

A free hologram simulator: record the interference fringes of a reference beam and object points live, play the hologram back with real wave optics to see the virtual image, the twin and parallax, explore coherence, compare transmission, reflection, rainbow and embossed holograms and Pepper's ghost, and compute a phase hologram of your own drawing.

A hologram is a photograph of interference. Laser light is split in two: the reference beam goes straight to the plate, the object beam lights the object, and each point of the object sends out a spherical wave. Where the two beams meet on the plate they add up or cancel, making a pattern of very fine fringes. The fringes store both the brightness and the direction (phase) of the light from the object. Drag the object points; the fringe pattern on the plate is computed live from \(I = |R + O_1 + O_2 + \dots|^2\).

Drag a point · click empty space to add one
Drag to move across the plate
Laser colour (wavelength):
Reference beam angle: 0° = in-line (Gabor); tilted = off-axis (Leith-Upatnieks).
Beam ratio, reference : object: Real holograms use about 3:1 to 10:1 so the fringes stay in the film's straight-line range.
Patch of plate shown: Real fringes are about a micrometre apart: zoom out and they blur into grey, as they would for your eye.
Extra length of the reference arm: 0 = the reference path equals the path to the middle of the object. Matters only when the light is not a good laser.

How holograms work

A normal photograph records only how bright the light was at each point. A hologram also records the light's phase: how far along its wave cycle it was. Film can only record brightness, so Dennis Gabor's trick (1948) was to add a second, simple wave, the reference, and record the interference of the two. The bright and dark fringes encode the phase: where the object's light was in step with the reference, the film is exposed; where it was out of step, it is not. Lighting the developed film with the reference again diffracts the light back into a copy of the object's wave, so you see the object in full 3D, with parallax, focus and depth, as if it were still there.

recorded intensity \(\displaystyle I = |R+O|^2 = |R|^2 + |O|^2 + R^{*}O + R\,O^{*}\)
playback with R \(\displaystyle R\,I = R\left(|R|^2+|O|^2\right) + |R|^2\,O + R^2\,O^{*}\)
fringe spacing \(\displaystyle d = \frac{\lambda}{2\sin(\theta/2)}\)
coherence length \(\displaystyle L_c = \frac{\lambda^2}{\Delta\lambda}\)
Bragg (reflection) \(\displaystyle \lambda = 2\,n\,\Lambda\cos\theta\)
angular spectrum \(\displaystyle U(z) = \mathcal{F}^{-1}\!\left[\mathcal{F}[U(0)]\;e^{\,i2\pi z\sqrt{1/\lambda^2 - f_x^2 - f_y^2}}\right]\)

In the playback equation the middle term \(|R|^2 O\) is the object's own wave (the virtual image), the last term is its mirror twin (the real image, which focuses in front of the plate) and the first is the zero order. Gabor's in-line holograms had all three on top of each other. Emmett Leith and Juris Upatnieks (1962) tilted the reference beam so the three leave the plate in different directions: the start of practical holography.

Things to try

  • Recording: zoom in until single fringes show, then change the reference angle: a steeper angle packs the fringes closer (λ / sin θ). Holographic film has to resolve thousands of lines per millimetre.
  • Recording: choose the red LED as the light source. The fringes vanish unless the reference path matches the object path to within a few tens of micrometres.
  • Playback: focus on each point in turn: only one is sharp at a time, because the image really is 3D. Then turn on the camera opening and move it: near and far points shift against each other (parallax).
  • Playback: set the reference angle to 0°. Now the twin image and the zero order sit on top of the picture and the spectrum filter cannot separate them: Gabor's twin-image problem.
  • Reflection hologram: tilt it and the colour moves toward blue; shrink the emulsion and a red-recorded hologram plays back green.
  • Computer-generated: switch to 2 phase steps and watch the upside-down twin appear.

Things people ask

  • Are stage "holograms" of singers real holograms? No. They are Pepper's ghost: a sheet of glass or foil reflects a bright video screen hidden below the stage. It is a flat picture with no recorded fringes and no true depth.
  • Why are credit-card holograms rainbow-coloured? They are embossed rainbow holograms: thin surface ridges that act as a diffraction grating, so each colour leaves at a different angle. Benton's slit trick throws away up-down parallax so that each colour makes a sharp image at its own eye height.
  • Why can a reflection hologram be seen with a lamp? Its fringes are layers through the depth of the emulsion, spaced about half a wavelength apart. Like the scales of a butterfly, they reflect only the colour that fits the spacing (Bragg's law), so the hologram picks its own narrow band out of white light.
  • If I cut a hologram in half, do I lose half the picture? No: every part of the plate received light from every point of the object. You get the whole scene through a smaller window, with less parallax and a little less sharpness (try a small camera opening in the Playback tab).
  • What is modelled here? Scalar waves in the paraxial and non-paraxial (angular spectrum) sense, a film whose transmission is proportional to the light it received, and a partially coherent source with a Gaussian spectrum. Not modelled: polarisation, film grain and non-linearity, the thickness of transmission holograms (except in the reflection-hologram section, which uses Kogelnik's coupled-wave formula).

Everything runs on your device; nothing is uploaded. Diffraction calculator · Light in a Medium · Michelson-Morley interferometer · Electromagnetic waves · More MES tools

Comments
Advertisement