Curvature & Refraction Lab
Change the surface. Follow the light. Keep the assumptions visible.
Atmosphere & camera settings
Cross-section · vertical scale exaggerated · green = light, red = surface obstruction
Camera framing
Equations, assumptions & sources
Convex/concave surfaces use exact circular coordinates. Heights follow the local surface normal. Geometric obstruction is calculated separately from apparent ray paths. Selecting a surface or atmosphere is a modeled assumption—not evidence that it describes an observation.
Uniform k is referenced to the positive selected radius: positive k bends light downward; negative k bends it upward. It is not an effective-radius multiplier. Atmospheric rays use RK4 integration, hydrostatic dry-air pressure, and approximate visible dry-air refractivity n − 1 = 77.6 × 10⁻⁶ P(hPa)/T(K). The surface layer transitions exponentially to the background temperature gradient.
No humidity, wavelength dispersion, terrain, waves, lens distortion or sensor processing are modeled. Atmospheric visibility is sampled within a finite angular domain: narrow paths can be missed. Inversion presets describe temperature inversions, not a guarantee of a visible inverted mirage. Camera framing is angular geometry, not a photorealistic prediction.
Original implementation informed by Bislin’s curvature calculator, Bislin’s refraction simulator, Vendrel’s CC0 modeler, EarthCurve, and Metabunk. No third-party code or image assets copied.