---
title: "Window Ghost Observatory Interactive Lab | Sandbox Physics"
description: "Why does window glass barely shift the view through it, yet show ghost images at night?"
canonical_url: "https://sandboxphysics.com/labs/window-glass-slab-lab/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/window-glass-slab-lab/"
last_modified: "2026-10-27"
---

Optics 009 · Ray worlds, boundaries, and natural optics

# Window Ghost Observatory

**Why does window glass barely shift the view through it, yet show ghost images at night?** The two faces are parallel, so the bend on the way out undoes the bend on the way in; the glass thickness only shifts the ray sideways. Each glass surface also reflects about 4 percent of the light. A double-pane window has four surfaces, and at night, with no daylight coming through, their faint reflections of the bright room show up as ghosts. An anti-reflection coating weakens them.

This three-dimensional apparatus has these scenes: Parallel but not collinear, Four-surface night ghosts, Bare versus AR-coated ghosts. Adjust two controls with physical units or drag the probe directly; the detector trace and three quantitative checks are recalculated from the equation on the page.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

This Lab states the approximation it uses and runs an analytic or numerical benchmark against it. Scene sizes and glow are for display only; judge the physics from the equation, the readouts with units, the benchmark check and the validity indicator.

Physics tutorial

## Audit the physics of Window Ghost Observatory

**Background** Light crossing a flat, lossless window refracts twice, and the two bends are equal and opposite. The beam comes out shifted sideways, measured perpendicular to its direction, by exactly $d=t\,\frac{\sin(\theta_i-\theta_t)}{\cos\theta_t}$. The same two surfaces also reflect part of the power, as the Fresnel equations describe. A double-pane window has four such surfaces, so a lamp at night can reach your eye along four complete paths from lamp to window to eye, each slightly different.

**Why it matters** Why does window glass barely shift the view through it, yet show ghost images at night?

Start with the essentials

- **Focus question**: Why does window glass barely shift the view through it, yet show ghost images at night?
- **One-sentence intuition**: Parallel does not mean on the same line. When the entrance and exit faces are parallel, $\theta_{\mathrm{out}}=\theta_i\quad\text{but}\quad d\ne0$. Thickness changes how far apart the two lines are, not the final direction. Every ghost the Lab draws includes the reflection that created it and every transmission along its way.

### Core mathematical model

#### Exact sideways shift through a parallel plate

$$
n_{\mathrm a}\sin\theta_i=n_{\mathrm g}\sin\theta_t,\qquad d=t\,\frac{\sin(\theta_i-\theta_t)}{\cos\theta_t}
$$

The shift is measured perpendicular to the two parallel rays in air. It is zero at normal incidence and grows with the plate thickness and with the incidence angle.

#### Primary reflections from the four surfaces

$$
P_j^{(q)}=R_q\left(1-R_q\right)^{2j},\qquad q\in\{s,p\},\quad j=0,1,2,3
$$

Light reflected from a deeper surface passes through every surface in front of it twice, once going in and once coming out. The unpolarized power shown is the average of the two polarization channels.

#### Transmitted ghosts from round trips inside the glass

$$
P_k^{(q)}=\left(1-R_q\right)^2R_q^{2k},\qquad \sum_{k=0}^{\infty}P_k^{(q)}=\frac{1-R_q}{1+R_q}
$$

Each extra round trip adds two reflections and shifts the emerging beam sideways by two more crossings of the glass. Summed incoherently to infinity, these ghosts and the reflected beams together conserve energy.

### Common difficulties

#### Drawing a ghost without the reflections that made it

**Typical misconception** You can put a faint copy beside the main transmitted ray without tracing how it entered, reflected inside and left the glass.

**Better mental model** Such a copy has no optical history, so it cannot predict where the ghost lands or how strong it is. Here every colored ghost is one continuous path that obeys Snell's law at each surface. Its width shows the Fresnel power on a nonlinear scale, and the power itself is reported separately.

### Run the experiment

1. 01

   #### Scene 1: Parallel but not collinear

   In the first scene, set the plate to minimum thickness and sweep the incidence angle from normal up to its limit, then increase the thickness. Compare the green output with the dashed no-glass line and read the pink perpendicular bracket.

   **What to observe:** The ray leaves at exactly the angle it came in, because the second refraction undoes the first. It is still shifted, because inside the glass it traveled at a different slope.

2. 02

   #### Scene 2: Four-surface night ghosts

   In the night-window scene, orbit until all four reflection paths from the panes are visible. Sweep incidence and thickness, and watch the four angular peaks separate while the deeper paths lose power passing through the surfaces in front.

   **What to observe:** At normal incidence the four angular peaks overlap, although all four paths still carry power. Viewing at an angle separates them. The back surface of a pane can look almost as bright as its front, because both Fresnel transmissions on the way are still close to one.

3. 03

   #### Scene 3: Bare versus AR-coated ghosts

   Compare the bare and coated lanes, stacked one above the other. Follow the main ray, the one-round-trip ghost and the two-round-trip ghost all the way through both faces, then compare the detector profiles and the suppression readout.

   **What to observe:** The first transmitted ghost sits two internal sideways crossings away from the main ray. A round-trip ghost scales with the square of the surface reflectance, so lowering the reflectance suppresses it strongly. That is why the secondary peaks almost vanish on the coated detector trace.

Physical conclusion

A window model you can trust ties the geometry, the Fresnel power, the number of surfaces and the limits of the approximation to the same complete paths. Then two things are clear: a parallel output ray can still be shifted, and faint night ghosts are ordinary reflections whose paths you can trace.

Waves & optics · Starter path

## From one ray to interference measurement

Start with refraction, find where the ray picture stops working, then use interference to measure tiny distances.

[Start here → **Optical Boundary Explorer** Turn the incident angle and watch reflected and transmitted power trade off. Then switch to the critical-angle scene. Observe · 11 min](https://sandboxphysics.com/labs/optical-boundary-explorer/)

1. [1 Optical Boundary Explorer](https://sandboxphysics.com/labs/optical-boundary-explorer/)
2. [2 Rainbow Caustic Observatory](https://sandboxphysics.com/labs/rainbow-laboratory/)
3. [3 Camera Obscura](https://sandboxphysics.com/labs/camera-obscura/)
4. [4 Coherent Wave Composer](https://sandboxphysics.com/labs/coherent-wave-composer/)
5. [5 Young Double-Slit Bench](https://sandboxphysics.com/labs/young-double-slit-bench/)
6. [6 Michelson Precision Lab](https://sandboxphysics.com/labs/michelson-precision-lab/)

[View the full path →](https://sandboxphysics.com/topics/waves-and-optics/#starter-path)
