INITIALISING OPTICAL ENGINEWEBGL2 · OFFLINE
01 / EXPERIMENT SELECTOR
LIVE SCIENTIFIC VISUALISATION / COMPUTED RAY PATHS
PRISM CHAMBER · 1 CRYSTAL
Snell refractionPOSITIONED HEXAGONAL PRISM
REFRACTIVE INDEX1.3120n(λ) · Cauchy model
MINIMUM DEVIATION21.99°prism geometry
MEASURED RAY—outgoing deflection
STATUS / SELECTIONREADYfiltered rays or beam path
04 / RESEARCH DESK

Laboratory field notebook

Freeze calculated observations, compare scenarios and export a reproducible CSV record.

RUNEXPERIMENTλ (nm)nHEIGHT (R)SUN (°)MIN δ (°)RAY δ (°)SELECTED
No observations yet. Configure an experiment and select “Record reading”.

Scientific missions

Four numerical problems, two concept questions, and four live-apparatus missions, with instant checking.

FUNDAMENTALS / FIELD MANUAL

Why the sky can become a prism

A ray-traced guide to the geometry of ice-crystal optical halos.

01 — The phenomenon

Cirrus clouds frequently contain tiny hexagonal ice crystals. Their surfaces refract incoming sunlight and can generate coloured rings or bright patches around the Sun. The best-known example is the 22° halo. Its radius is not an arbitrary setting: it follows from the 60° effective prism angle created by the appropriate pair of hexagonal side faces. In a randomly oriented population, many rays deviate by more than the minimum, but none following this direct two-side path can deviate by less. Rays accumulate near that angular boundary, producing the bright inner edge of a halo.

02 — Operating the optical bench

Start in Prism Chamber and rotate the crystal with its yaw control or drag the 3D apparatus. Change pitch, roll or beam offset to choose the actual entry and exit faces. The cyan line is the incident beam, the bright segment is the path inside the solid, and the amber line is the transmitted beam. If no ray is intercepted, adjust the impact position. Use the goniometer readout to compare a trace with an analytical prism prediction. Drag the background to orbit, use the mouse wheel to zoom, Shift-drag or right-drag to pan, and reset the camera at any time. On touchscreens, use one finger to orbit and a two-finger gesture for zoom or pan.

03 — Snell's law and energy

For transmission across a plane interface, n₁sin(i)=n₂sin(r). Here i and r are measured from the surface normal, not from the surface itself. The engine calculates full three-dimensional vectors and locates the next intersection with each actual face of a finite hexagonal prism. At the ice–air boundary, total internal reflection occurs when the incidence angle exceeds θc=asin(1/n). The ray tracer follows such reflections up to a bounded number of interactions. For successfully transmitted rays, unpolarised Fresnel reflectance at both interfaces provides an approximate transmission weight. Absorption, coherent interference and multiple reflected ray families are excluded from the measured direct-halo populations.

04 — Predict the halo edge

For a prism of apex angle A, the minimum deviation is δmin=2asin(n sin(A/2))−A. For a 60° prism and the default index near 1.312, that gives approximately 22°. The result is only defined when n sin(A/2) ≤ 1. A side-to-basal path has a 90° effective prism angle; for ice its minimum deviation is near 46°. Our sky synthesis determines actual ray angles with exact vector refraction rather than forcing them to lie on an ideal ring. The analytical value is shown as a comparison. Small differences in the histogram's largest bin arise from finite random samples and bin width.

05 — Five experiments

Prism Chamber: trace individual light paths; seek transmitted rays across the correct pair of faces and study yaw or impact sensitivity. 22° Halo: sample uniformly random crystal orientations and note the inner boundary of the angular distribution. Sundog Gallery: align short hexagonal plates approximately vertically so horizontal spreading becomes dominant; vary the orientation spread and solar elevation. 46° Halo: allow transmission from a side face to a basal face or vice versa, then compare the less frequent events and larger deflection with the 22° case. Chromatic Ice: trace an alternating population at 430 and 680 nm, splitting the histogram and sky events by wavelength. The model uses a clearly declared Cauchy dispersion formula rather than a tabulated laboratory spectrum.

06 — Designing an investigation

First write a hypothesis: increasing the refractive index should increase the minimum-deviation angle for either prism family. Test it by changing wavelength or index offset; record both the prediction and the measured histogram. For sundogs, keep solar elevation fixed while reducing plate-axis tilt spread. The points should become more concentrated near the solar altitude. Next vary aspect ratio: plates and columns present different projected areas to the incident flux. Capture two observations, export the CSV, and explain why the number of selected events is not identical to absolute sky brightness. Repeat with a new random sample to see finite-sample uncertainty.

07 — Applications and limitations

Ice halos help meteorologists infer the presence, form and preferential alignment of upper-atmosphere crystals. The same basic laws apply in refractometers, optical-prism sensors and glass instrumentation. This model treats light as straight rays in uniform isotropic ice, uses ideal flat facets and a single air–ice boundary at each crossing, and neglects wave diffraction, crystal imperfections, scattering by cloud droplets, atmospheric extinction, ray coherence, polarisation-resolved detection and the solar disc's finite angular size. Intersections are generated by uniform area sampling over a bounding disc; each accepted ray carries an approximate Fresnel transmission factor. The plotted sky chart is a conditional directional sample, not a calibrated radiance field or photographic prediction.

08 — Glossary & deeper questions

Deviation: angle between incoming and outgoing photon directions. Facet: planar crystal surface. Index: phase-refractive ratio of light speed in vacuum to that in matter. Dispersion: variation of index with wavelength. Basal face: top or bottom hexagon. Sundog: bright parhelion at about the solar elevation. Fresnel coefficient: interface reflection fraction predicted by electromagnetic boundary conditions. Ask yourself: why is the inner halo edge relatively sharp, while its outside is diffuse? Why does horizontal alignment favour sundogs? What would happen to the 46° family if the index rose above √2? How would including crystal-size diffraction alter the result?

MODEL: GEOMETRIC RAY OPTICS · NO EXTERNAL DATA · ORIGINAL EDUCATIONAL LABORATORY · 2026
Made with 🤖 ChatGPT · Three.js