◌
FIELD LABORATORIES / OPTICS 002

REFRACTA.

RAY PROPAGATION ENGINEUNSIGNED SEED · FF790B23EFDCE7E7
MySimulator.uk ↗
ATMOSPHERIC OPTICS/INTERACTIVE EIKONAL EXPERIMENTSSI UNITS · GEOMETRIC OPTICS · REAL DATA
02 / SPATIAL OBSERVATORY

Refraction field / 3D

WEBGL2 INITVERTICAL × 20
EMITTER 2.2 m
RECEIVER 520 m / 2.2 m
N-PROBE
MODEL-DERIVED RAY PATHS17 TRACED RAYS
━━ OPTICAL PATH ● SOURCE ● RECEIVER
ORBIT: DRAG · PAN: SHIFT+DRAG · ZOOM: WHEEL · HANDLES: DRAG
LOCAL REFRACTIVITY—N = 10⁶(n − 1) · ppm
RAY CURVATURE—dθ/dx · μrad m⁻¹
GROUND INTERCEPTS—Physically occluded rays
INVARIANT ERROR—max |n cosθ − K|
03 / MEDIUM PROFILE

Refractive index by height

CLICK TO POSITION THE INDEX PROBE Z = 2.2 m
04 / PHOTON TRAJECTORIES

Ray elevation vs range

CLICK A CURVE TO INSPECT ITS RAY RAY #09
05 / LIVE EXPERIMENT REPORT

Adjust the atmosphere to inspect trajectories.

———
08 / THE SCIENCE

Why does the horizon move?

A field manual for rays crossing thermal boundaries, inverted images, refractive ducts and geometric caustics.

FIELD NOTES / EDITION 01
THE REFRACTA OBSERVATORY
MODEL: GEOMETRIC OPTICS

01 — The invisible lens

The air between an observer and the horizon is an optical material. Its refractive index n is only slightly greater than one, but an extremely shallow ray can travel hundreds of metres while accumulating a measurable deflection. Refractivity is expressed as N = 10⁶(n − 1), in parts per million. A hot surface typically produces less-dense air and lower refractive index immediately above it. Rays bend toward the region with higher index; grazing light can turn upward before reaching the hot ground. The observer may interpret such a ray as coming from below the horizon: an inferior mirage.

02 — Operate the optical bench

Choose one of the five experimental modes along the top. Change the temperature controls at left or select a preset. Orange rods mark the emitter, turquoise rods mark the receiver; drag their luminous handles in the 3D view to reposition them. Drag the background to orbit, Shift-drag to pan, scroll or pinch to zoom, and use the target icon to restore the camera. The profile chart can place a vertical refractivity probe, while the ray chart allows selection of an individual trajectory. Save the readings that matter and export them as CSV. Pause or change the scan speed to inspect the computed ray paths; scan playback does not depict the physical velocity of light.

03 — Governing physics

At a fixed reference wavelength, we approximate dry air as an ideal gas and take n(z) − 1 = 277 × 10⁻⁶ × [P(z)/P₀] × [288.15 K/T(z)], with P(z)/P₀ = exp(−z/8000 m). The temperature is a background lapse plus an exponential surface anomaly and, optionally, a Gaussian elevated layer. Here z is altitude above the simulated ground, ΔT is the near-surface temperature contrast, and h is its e-folding scale. From Fermat’s principle, the local ray slope and direction satisfy dz/dx = tan θ and dθ/dx = (1/n)dn/dz. Because the medium is horizontally invariant, n cos θ should remain constant. An RK4 integrator evolves each path, and the maximum invariant drift is reported as a numerical diagnostic.

04 — Five investigations

Ray atlas: set surface contrast to zero, then increase it slowly. Select rays on the trajectory chart; watch a bundle spread or compress as the index gradient changes. Thermal mirage: choose Hot ground, lower the emitter, and vary the boundary-layer depth. Predict which launch directions turn away from the ground and which terminate at it. Ground termination means occlusion, not reflection. Optical duct: choose Cold duct; a constructed elevated cold region creates an index maximum and may guide shallow rays towards the receiver. Raise or lower the layer centre to see the guiding region migrate. Receiver solver: move the detector by dragging its handle. A numerical shooting method searches for launch directions that intersect its finite-height point. More than one path can exist in a strongly stratified medium. Caustic survey: vary launch angle and surface temperature; inspect the map from emitted angle to arrival altitude. Compressed mappings signal geometric focusing.

05 — Experiments to try

First predict whether a positive surface temperature contrast bends a nearly horizontal beam upward. Compare the profile gradient with the ray curvature readout. Next vary the thermal scale from 0.4 m to 4 m while holding temperature contrast fixed; the boundary's sharpness changes the turning range. In duct mode, compare a cold layer with a warm layer of equal magnitude to test whether rays are attracted to the high-index region. Finally use the receiver solver to compare the exact optical travel time with a straight vacuum path. Record the result and check whether geometric and optical lengths differ. Inspect the caustic chart but do not treat its Jacobian factor as measured light intensity.

06 — Where this matters

Mirages affect terrestrial surveying, maritime navigation, distant astronomical imaging, desert observations and free-space optical links. A temperature inversion can make a ship appear lifted or inverted; near-ground turbulence can also disrupt laser alignment. Similar ray-equation methods appear in underwater acoustics, gradient-index optics, atmospheric radio propagation and geophysical travel-time inversion. The lensing effect grows important whenever a small gradient acts over a long path, even if local refraction seems negligible.

07 — Scope and limitations

This is a deterministic two-dimensional vertical slice embedded in a three-dimensional instrument scene. Temperature is prescribed, not solved by computational fluid dynamics; the pressure law has a fixed scale height. The model uses a single reference refractivity constant rather than wavelength-resolved dispersion or humid-air spectroscopy. No turbulence, wind, aerosols, scattering, diffraction, Earth curvature or surface Fresnel reflection are included. Rays do not reflect when they touch the ground: the ground blocks them. The elevated cold layer is an idealised teaching profile, not a forecast of an atmospheric inversion. The displayed scene uses a 20× vertical exaggeration so metres of altitude can be compared with hundreds of metres of range. Numerical caustic amplification is a ray-density indicator only; wave optics regularises singular caustics.

08 — Glossary and open questions

Eikonal: the high-frequency approximation for wave phase and ray direction. Refractivity: one million times the departure of index from vacuum. Turning point: a height where a ray's vertical slope changes sign. Optical path length: the integral ∫n ds along a trajectory. Caustic: an envelope at which nearby ray directions converge. Invariant: a conserved combination, here n cos θ. Consider what wavelength dispersion would do to a mirage's colour, how a moving turbulent layer would affect a detector, and how several receiver-height measurements might reconstruct an unknown temperature profile.

Made with 🤖 ChatGPT · Three.js