Apparent depth of a submerged marker

Light bends toward the normal when it enters water, so the marker appears shallower than it really is. Drag the eye ray out of the tank to see why.

—
—
—
—
—
surface apparent actual viewed from directly above: d = D / n

Inset: seen straight down (normal incidence) the marker appears at D/n — about 75 % of its real depth in water (n ≈ 1.33). The oblique view from the observer gives a virtual image that is lifted even further.

drag to orbit · scroll to zoom
LOADING…
``` **What it shows** - **A glass tank** with an animated water surface, a glowing survey‑marker staff on the bottom, a depth ruler on the back wall, and a stylized observer standing beside the tank. - **The eye ray** is traced from the marker tip to the surface and out to the observer's eye, bending at the surface according to Snell's law (solved numerically each frame, so it stays correct as you change depth, index, or eye height). - **The apparent depth** is the virtual image: the refracted ray is extended backward (dashed) to meet the vertical through the marker — the observer sees the marker lifted. A second dashed line shows the "lift" between the real and virtual positions. - **Stylized light rays** enter from the upper left, bend toward the normal on entering the water, converge on the marker, and paint animated caustics on the tank floor. - **Readouts**: actual depth, apparent depth, the vertical‑view limit `D/n` (≈75 % for water), and the air/water angles — plus a small SVG inset showing the classic top‑down case where the apparent depth is exactly `D/n`. - Sliders for marker depth, refractive index and eye height; toggles for sunlight, the virtual image and labels; drag‑to‑orbit and scroll‑to‑zoom camera implemented directly in the file (no addons).