Taos Explorer runs in a web browser on WebGPU, with nothing to install. It places the real Earth, Moon and Mars in one continuous space, at true scale and in their true positions for any instant. The ground, the sky, the traffic and the weather all come from measured data. People can fly, drive, sail, dive, ski, ride trains, walk, fight wildfires and travel the solar system there, alone or together.
This page collects the parts of Explorer that are physically accurate, built from real-world data, or of interest to an engineer or scientist. For each, it names the model or algorithm, the data it draws on and, where the project has measured it, how close it comes to reality. It also says plainly where Explorer simplifies on purpose. The rendering deep dives take the graphics apart in more detail.
- The real clock. Explorer runs on UTC. Sun, Moon, planets, moons, satellites, asteroids and comets are placed from ephemerides for that instant. Daylight, twilight, tides, seasons, eclipses and the night sky follow from the clock, not from scripts.
- Measured geometry. Terrain, cities and buildings come from photogrammetry, elevation models and OpenStreetMap. The sea floor comes from GEBCO, Moon terrain from LOLA and LROC, and Mars terrain from MOLA, HRSC and HiRISE.
- Live feeds. Explorer can take in airliners from ADS-B, ships from AIS and trains from national rail feeds. It also reads METAR station weather and forecast models, NOAA's aurora nowcast, satellite orbits from CelesTrak, and active US wildfire incidents from NIFC.
- Validation. Flight dynamics, the wildfire model, the eclipse calculator, satellite propagation, the magnetic field model and tides are each tested against published reference values. Several of those tests run on every build.
Planet, coordinates and precision
A GPU float has a 24-bit significand, about seven digits. At Earth's radius, the smallest step it can take is half a meter; at the Moon's distance, 32 meters. Explorer works around this so that one program can draw a cockpit switch and the far side of the Moon in the same frame.
| Distance from origin | 32-bit float step |
|---|---|
| 10 m | ≈ 1 µm |
| 10 km | ≈ 1 mm |
| 6,378 km (Earth's radius) | 0.5 m |
| 383,000 km (the Moon) | 32 m |
- Doubles on the CPU. All planet math stays in 64-bit doubles on the CPU: positions, frames, tile bounds and the camera. Only small, camera-relative numbers reach the GPU.
- WGS84. Earth is the WGS84 ellipsoid (a = 6,378,137 m, f = 1/298.257223563). Converting back from Earth-centered coordinates uses Bowring's closed-form method, sub-millimeter near the surface. Height uses a division-free form that stays correct over the poles, where the textbook formula fails. The same code serves the Moon (a sphere of 1,737.4 km) and Mars (3,396.19 × 3,376.20 km).
- Floating origin. The origin jumps to the camera every 10 km, or every 250 m in a cockpit. Tiles are not re-uploaded: each keeps the origin it was built against and gets a per-tile 64-bit correction at draw time. The jump is folded into the previous frame's matrices, so motion blur and temporal anti-aliasing see no motion.
- Geoid. Sea level is not the ellipsoid. Explorer carries the EGM96 geoid (NGA, 15′ grid), whose undulation runs from −107 to +85 m, for example −33 m at New York. Elevation data is lifted from mean sea level onto the ellipsoid with it; testing water against the ellipsoid alone would flood low coasts.
- Horizon and clip planes. Horizon distance is the exact √(h(h + 2r)). The usual √(2Rh) shortcut gives 17,900 km at 25,000 km altitude, against a true 30,700 km. Near and far planes follow from it, with reversed-Z depth.
Terrain and geospatial data
The ground is streamed from real data and refined around the viewer, from orbit down to curb height. On top of it sit roads, railways, bridges, tunnels, piers, buildings, land cover and water, all derived from open map data.
Streaming the planet
- Sources. Google Photorealistic 3D Tiles and Cesium World Terrain through Cesium ion, or a keyless "open terrain" mode. Open terrain uses AWS Terrain Tiles (SRTM, GMTED2010, ETOPO1; to about 5 m per pixel), Esri World Imagery and OpenStreetMap buildings from OpenFreeMap.
- City scans. Regional surveys replace the base data inside their footprint: Aerometrex scans of San Francisco and Denver (5 cm city-wide, 2 cm downtown) and Melbourne's 2018 city mesh. Each dataset is clipped against the other so there is neither overlap nor hole.
- Level of detail. Refinement is by screen-space error, with distance measured to each tile's oriented box rather than its sphere (about 1.7× tighter). Three rules keep refinement free of holes: all-or-nothing replacement, sticky refinement, and "empty is not missing".
- Seams. Vertices are baked into world space on the CPU in double precision, so the shared edges of neighboring tiles are bit-identical. Photoreal tiles get a welded 45° "apron" at their edges instead of skirts. In a fixed-view test, skirts left 4–9% crack pixels against 1.9% with none at all.
- Scheduling and cache. Downloads are prioritized by distance and need, and aborted when no longer wanted. The cache is LRU, 2.4 GB on desktop and less on phones. Adaptive detail relaxes the error target when the backlog would take more than a few seconds to clear.
Elevation, carving and leveled ground
- Carving. Every elevation tile combines the carves that real infrastructure needs. Roads are cut for cars; airfields and lakes are leveled; ski runs are smoothed; the sea is held under a ceiling; rail beds and tunnel approaches are cut; and player edits are applied. When any of these change, the tile is rebuilt in the background and swapped in, with no reload.
- Leveled ground. Runways get a robust quadratic fit along their length, and aprons the block median. Water gets a low percentile of the surrounding heights. The leveling runs on ~19 m cells read from elevation and vector tiles, in a worker.
- Terrain shadows. Beyond the shadow maps, a GPU pass marches heightmaps toward the Sun: 1024² over 73.7 km (72 m texels) and 512² over 295 km. Mountain ranges therefore shadow valleys at real scale.
Sea floor
The GEBCO 2026 grid (15 arc-seconds, about 460 m) is baked into 2° int16 tiles, delta-coded and deflated, with land-only tiles skipped. Near the viewer, a 2.5 m seabed mesh over 400 m sits inside a 25 m mesh over 4 km. The bed is colored by type: sand, rock, seagrass or mud.
GEBCO's cells are far too coarse for the last kilometer, where waves feel the bottom. Near the shore the depth comes from the best source there is:
- Measured, on US coasts. NOAA NCEI's CUDEM (1/9 arc-second, about 3 m) and the other coastal DEMs of 1 arc-second or finer, read at run time from NCEI's image service in squares of 1/64° at about 5 m a pixel, finest source first. Mainland heights are on NAVD 88 and are moved onto mean sea level by the nearest NOAA tide stations' mean sea level over NAVD 88 (1,038 stations, 1983–2001 epoch): about −0.1 m at Duck, +0.8 m at Santa Monica, +1 m in San Francisco. Hawaii and the territories' sources are on local mean sea level already. Those datums are the 1983–2001 epoch's, and the sea has moved since by each coast's own rate, the land's sinking or rising included: the nearest of NOAA's 144 long-term stations' relative sea level trends carry them on to the present year from the epoch's middle (1992). That is +0.17 m at Duck (4.9 mm a year) and −0.47 m at Juneau, where the land is rising. Sources on mean high water or mean higher high water are left out.
- Modeled, elsewhere. The equilibrium beach profile h = A x2/3 (Bruun 1954, Dean 1977), x meters from the shoreline. A comes from the sand's grain size through its fall velocity: A = 0.067 w0.44 (Dean 1987), with w from Ferguson and Church (2004). The default is medium sand of 0.25 mm, A = 0.112. Places can have their own A, a sandbar or a reef's shelf. The profile is never deeper than GEBCO or 6 m, whichever is deeper (a GEBCO cell straddling the beach reads shallow near the shore), and blends into GEBCO between 600 and 1,600 m out.
- Checked against measured beaches. On five CUDEM profiles (Duck, Pensacola Beach, South Padre Island, Ocean Beach and Santa Monica), the default profile's mean error out to 1 km is under 2 m. With each beach's fitted A it is under 1 m. Fitted bars cut Ocean Beach's error from 0.7 to 0.26 m (10 m samples). One fixed bar for every beach fitted them no better than none, so the default profile has none. Pipeline's reef shelf is within 0.75 m out to 500 m.
- Piers and thin land. Land under about 60 m wide standing in the sea, such as a pier the map draws as land, counts as sea for the bed and for the distance from the shore.
The built and living landscape
- Buildings. OpenStreetMap footprints are extruded with facades counted in floors and bays and with pitched roofs on small buildings. Each roof takes the mean color of the aerial image under its footprint.
- Land cover. Esri Sentinel-2 10 m land cover (CC BY 4.0) decides where trees can grow. Trees are vetoed on cropland, built-up land, bare ground and water, and kept 120 m beside and 300 m past the ends of runways.
- Water. OSM water polygons and waterway lines build a mask with signed distance to the shore, for foam and surf. Inland lakes and rivers get the same water model as the sea.
- Roads. Road profiles are robust medians along the road with a maximum grade of 25%, so tree crowns and parked buses in the scan don't bump the road. On photogrammetry, road vertices are pulled onto a smoothed surface so scanned cars drop out. Lane markings follow regional rules, such as yellow center lines in North America.
- Bridges, tunnels and piers. These are built procedurally from OSM ways. Bridges get piers every 42 m and 5.2 m headroom; tunnels get a tube with lamps and the ground cut at their mouths; piers stand 2.5 m above the geoid. From inside a tunnel, its covered stretches within 900 m are cut as well, so a building mapped over the line or a coarse tile under a low hill does not show in the bore. Grass and trees do not grow in any of these cuts.
- Railways. OSM rail is fitted as Hermite curves at standard gauge (1.435 m), with grade-limited profiles and directional switches. A profile is the ground averaged over 160 m, and its grade may change by at most 0.4% per 10 m on main lines (a vertical curve no tighter than 2.5 km; 400 m for trams), so DEM noise leaves no bumps. Tracks side by side are laid at one height, but not tracks that cross. Level crossings close about 25 s before a train arrives.
World editing
Players can plant or clear trees, flatten and sculpt ground, paint, remove buildings, and lay roads, bridges, tunnels, lakes, rivers and railways. Real data is never overwritten. Edits are stored as vector shapes and rasterized per tile from Earth-fixed inputs, so neighboring tiles agree at their seams. They are evaluated after the elevation model and the map's own leveling, and all of them have a falloff. Imagery insets and historical eras are planned.
The ground brush also works on the Moon and Mars, for crater rims and landing pads. Their ground is a mesh of 3D tiles, with no heightmap to offset. So each group of strokes is evaluated into a grid on a plane tangent to the body, at a quarter of the smallest brush radius (0.5 to 25 m a sample). Each tile it reaches is rebuilt in the background: its triangles are split down to one grid sample where the ground changes, and its vertices are moved along the body's radial up. Neighboring tiles read the same grid, so their edges agree. Leveling sets a height as the body's ellipsoid measures it. That matters because the ground can be kilometers off the reference surface (Tranquility Base is 1.9 km below the Moon's sphere).
The Grand Canyon from photogrammetry and elevation data.
A runway threshold and blast pad, the runway leveled by a robust fit along its length.Engineering for speed
- Roads. Over a 60 s flight across San Francisco, road fits fell from 127,000 to 40,000, and the cost of roads plus the map fell from 8–11 ms to about 3 ms per frame.
- Map rasterizing. Rasterizing 8,000 water rings went from 218 ms to 1 ms by not closing paths before filling.
- Targets. The goal is flight p99 frame times of 9 ms or less on desktop and main-thread script of 3 ms or less on an iPhone. GPU-culled render bundles and moving tile work to workers and WebAssembly are planned.
Time, Sun, Moon and the night sky
The clock drives the light. Every frame computes where the Sun and Moon stand for that UTC instant and from that observer. Sunlight, moonlight, twilight, shadows, star positions and the switch to night lighting all follow from the result.
Time scales
Explorer converts UTC to Terrestrial Time with ΔT. Before 2005, ΔT comes from the Espenak–Meeus polynomials of NASA's Five Millennium Canon. For 2005–2025 it uses measured IERS values, then eases into the Espenak–Meeus long-range form. Nutation uses Meeus' abridged series (0.5″ in longitude, 0.1″ in obliquity). Greenwich mean and apparent sidereal time use Meeus 12.4.
Sun and Moon ephemeris
- Sun. Earth's heliocentric position comes from VSOP87 (Bretagnon and Francou), truncated as in Meeus. It is reduced to the apparent Sun with the FK5 correction, nutation and aberration, for about 1″ accuracy.
- Moon. Meeus chapter 47, his abridgement of ELP-2000/82: 60 terms in longitude and distance and 60 in latitude, for about 10″ in longitude and 4″ in latitude. That puts a total eclipse's path within some 20 km and its contacts within half a minute. The Moon is drawn at its true distance, so perigee and apogee show in its apparent size.
- Night lighting. After sunset the key light moves to the Moon, scaled by its illuminated fraction. During a lunar eclipse it dims by up to 92% and turns copper.
sunrise
noon
duskMount Everest at sunrise, noon and dusk. The Sun's position comes from the ephemeris for each instant, and the light it gives from the atmosphere model. At dusk the stars come out at their real positions as the Sun drops below −8.6°.
Stars and the sky guide
- Catalog. The 9,096 stars of the Yale Bright Star Catalog (BSC5). Brightness is flux = 10−0.4m, cut at magnitude 6.5, and color comes from each star's temperature through a blackbody fit. The stars are precessed from J2000 to the date and turned by sidereal time, and the Milky Way is held in galactic coordinates.
- Sky guide. Constellation figures from the d3-celestial data (BSD-3) are traced on the drawn stars, so they are correct from Earth, the Moon or Mars.
- Light pollution. NASA VIIRS night-lights brightness within about 40 km sets a Bortle class from 1 to 9. The naked-eye limiting magnitude falls with it, from 7.6 to 4.
Aurora
The oval is centered on the geomagnetic pole, taken from the dipole terms of the World Magnetic Model 2025 (80.8° N, 72.8° W). It widens and moves equatorward as Kp rises and is strongest toward magnetic midnight, with a matching southern oval. The source of activity depends on the clock time:
- within 1.5 h of real time: NOAA SWPC's live OVATION nowcast;
- the past week: NOAA's measured planetary Kp, fed through the oval model;
- any other time: a seeded synthetic Kp.
It is drawn by ray-marching a shell from 90 to 320 km. Oxygen green has a sharp lower edge near 100 km, oxygen red sits above 200 km, and nitrogen purple fringes the bottom in strong storms. It shows only where that air is dark.
Satellites and the ISS
- Propagator. A faithful port of SGP4/SDP4 (Vallado et al. 2006, "Revisiting Spacetrack Report #3") on WGS-72, verified against the canonical Vallado test vectors. Positions convert from TEME to Earth-fixed with IAU-82 GMST, the frame SGP4 itself uses.
- Catalog. 15,995 objects from CelesTrak, from a baked snapshot or a live stream. A cylindrical umbra test decides which are sunlit, so satellites flare at dusk and vanish into Earth's shadow as real ones do.
- The ISS. Players can ride the station.
Night-sky photography
The in-game camera has shutter, aperture and ISO. Its exposure is metered in EV100 against the real sky: Sun and Moon height and phase, clouds and Bortle class. It also models thin-lens depth of field and hyperfocal distance (10–2000 mm), star trails stacked from up to 480 frames, and a tracking mount. Focus peaking and noise stacking are planned.
Atmosphere and light
The sky, the haze, sunsets and the color of distant mountains come from one physical scattering model. It is evaluated on the true, oblate planet at three wavelengths.
Scattering model
- Method. The single-scattering integral (after Nishita 1993), with the lookup-table structure of Hillaire 2020: transmittance, multiple scattering and sky-view tables. It is computed in three color channels, with coefficients fitted to the full spectrum (below).
- Rayleigh. βR = (5.88, 12.29, 27.50)×10−6 m−1 on Earth (effective wavelengths 647, 540 and 444 nm), scale height 8.5 km. Other bodies and the engine's default keep the single-wavelength (5.5, 13.0, 22.4)×10−6.
- Mie (the haze). On Earth it follows the weather (below): a boundary layer under a lid plus a thin haze above it, with its own color and phase. Other bodies, and the engine's default, keep an exponential with a 1.2 km scale height and a Cornette–Shanks phase at g = 0.758.
- Ozone. A Chappuis-band absorber in a 10–40 km layer peaking at 25 km: βO = (2.57, 1.66, 0)×10−6 m−1 for a 300 DU column, scaled by the real column for the latitude and month. It is what keeps the twilight zenith blue instead of gray or pink.
- Optical depths. Vertical Rayleigh τ = (0.050, 0.104, 0.234), so the air's molecules alone let about 95/90/79% of the noon Sun's red, green and blue through; ozone and the haze take a few percent more.
- Multiple scattering. All orders are summed as a geometric series (Ψ = L2/(1−fms)), with a ground-bounce term.
- Planet shape. The ground radius is reset every frame to the local WGS84 radius, because the poles sit about 21 km closer to the center than the equator.
- Ray sampling. The step count grows with path length (14 samples straight up, 32 at the horizon). The sky-view table puts extra rows near the dipped horizon, which lies 19.8° below level from 400 km.
Sky colors fitted to the spectrum
Three single wavelengths are not three colors: a channel sees a band of the spectrum, and the band shifts as the light reddens through the air. Run at 680/550/440 nm, the three-channel sky turned dusk pink-purple and a low Sun too red. The Rayleigh and ozone coefficients are instead fitted so that the three-channel model matches the same model run at 81 wavelengths (380–780 nm), over Sun elevations from −8° to 90°, on the ground and at 11 km, in clean and hazy air, with twilight weighted three times.
- Spectral inputs. Rayleigh cross-sections after Bodhaine et al. 1999; ozone cross-sections from Bogumil et al. 2003; the TSIS-1 hybrid solar reference spectrum (Coddington et al. 2021); the CIE 1931 observer, from the Wyman, Sloan and Shirley 2013 fit.
- Color error. The mean error at twilight falls from 0.037 to 0.003 in CIE u′v′, and by day from 0.010 to 0.002; about 0.004 is just noticeable. The worst remaining samples (about 0.02) are in the dim sky near the horizon with the Sun 2–6° down. The Sun's own color through the air is within 0.001 by day.
- Checks. The sunset zenith is (0.53, 0.73, 1.0) in normalized RGB against the spectral (0.51, 0.72, 1.0); before the fit it was a pink-purple (0.78, 0.68, 1.0). The Sun at 4° is (1, 0.60, 0.16) against the spectral (1, 0.61, 0.15); before, (1, 0.40, 0.20).
- White point. The renderer's Sun is white above the atmosphere (about 6000 K), so the fit balances each channel to that Sun: the image is what a camera balanced to sunlight in space would show, and the noon Sun at the ground is slightly warm (about 5500 K).
- Ozone column. From a zonal monthly climatology, NOAA's Bodeker Scientific zonal mean ozone record (Bodeker et al. 2013; satellite and ozonesonde profiles, 1998–2007 mean, 5° bands): about 250 DU in the tropics, 400 DU in the Arctic spring and 140 DU in the Antarctic ozone hole in October. The sky takes a new column on a 2% change.
Haze from the weather
The aerosol sits mostly in the boundary layer, under a lid. From the ground it is a uniform haze; from cruise height it is a dome over the ground, with a sharp haze line on the horizon and clear blue above it. Every march (the sky, its lookup tables, the aerial perspective and the far clouds' haze) uses one profile:
- Profile. density(h) = 1/(1 + e(h − top)/edge) + f·e−h/H. The logistic is the boundary layer; the exponential is the free troposphere above it. The logistic's integral is a softplus, so each march step takes the mean density over the step. A step kilometers long that crosses the lid still counts it.
- Amount. Koschmieder: a visibility V means βext = 3.912/V at 550 nm. The Rayleigh share at the station's height is taken off, and the rest is the haze at the ground, so the reported visibility is true at the station (tested to 2% across haze types and station heights from 0 to 3 km). Under 1 km the haze stays at its 1 km amount and the weather fog takes over.
- Open-ended reports. "9999", "10SM" and CAVOK only say "at least 10 km". The haze then takes the column's aerosol optical depth from CAMS (via Open-Meteo), spread over the profile. Without it, it falls back on a climatology: 30×10−6 m−1 over land and 20×10−6 over sea when dry, about 90 km visibility (AOD ≈ 0.09) on a typical afternoon.
- Humidity. Relative humidity comes from the temperature and dew point (Magnus). Particles swell with it, f(RH) = (1 − RH)−γ, so humid days are hazier, whiter and more forward-scattering.
- Type and color. The present weather and the place pick the aerosol: HZ continental, BR mist, FU smoke, DU/SA dust, VA ash, and marine over the sea. Each type has an Ångström exponent (scattering ∝ λ−α: 1.3–2 for fine haze and smoke, near 0 for mist and dust), a single-scattering albedo with absorption per channel (smoke and dust absorb blue most, so they look brown and tan), and an asymmetry g.
- The top. By day it is the mixing height of the boundary-layer model, with a soft edge. At night it is the inversion top, with a sharp edge and a residual layer above it. Over the sea it is a 700 m marine layer.
- Easing. The haze eases over about a minute. The sky gets a new haze only when a value moves by 3%, because each change re-bakes the transmittance and multi-scatter tables. It is computed from the shared weather and the clock, so every player in a room sees the same haze. The Haze setting scales the amount (50–200%).
- Light in a thick haze. A thick haze is lit mostly by light it has already scattered. The haze's share of the multi-scatter source is therefore weighted 0.35 in the aerial perspective and over the painted globe past the streamed terrain, against 0.1 for the air's own. With single scattering alone, a hazy day's distance went dark brown-gray away from the Sun. The sky-view table carries the same term, so hazed terrain converges on the sky actually drawn behind it, with no seam at the horizon. Behind a haze, far clouds fade fully into that sky instead of keeping a dark veil. The Haze opacity setting caps the haze only on clear days: the cap rises to 1 between 30×10−6 and 200×10−6 m−1 (about 100 to 20 km visibility), so hills past the visibility are hidden, as they are in nature.
- Across the view. With live station reports, the nearest station in each of seven sectors about the camera, from 5 to 150 km, gives its own haze (the same model, with its report, place and elevation): its amount, and its color as scattering and extinction per channel, each relative to the camera's. The aerial perspective blends them with the camera's at each sample, by inverse distance squared softened over 10 km. The blend is geometric (in the logarithm), so a smoky station 100 times hazier than the camera's air tints its own side of the view without graying the rest. A station's amount is held to 0.01–100 times the camera's, and its color to 0.25–4 per channel. The sun's light reaching each sample is dimmed by the haze along its own path, read from the field there. The far clouds' haze takes the same field, averaged along the line of sight to the cloud. A new station fades in over about a minute, one that leaves the ring fades back to the camera's haze, and a jump applies at once.
- Checks. Station reports fed through the live chain, seen from the ground, 3 km and FL350. Clear air (26×10−6 m−1) shows a crisp view and a haze line from cruise. HZ at 6 km visibility (560×10−6) has its lid near 2 km. FU smoke (1.1×10−3) gives a cream sky, and from FL350 its layer reads gray-cream over the ground, not blue: above the haze the view no longer leans toward the horizon sky at the camera's height, and the haze's multiple scattering in the sky is taken at the layer, not at cruise. A smoky station 40 km east of a clear camera hazes the eastern view and leaves the western one within a few levels of clear. BR mist (1.4×10−3, g 0.79) is white. Sea haze sits in a 700 m marine layer, white from above. At dawn the lid is at 330–380 m, under the night's inversion. The sky's fitted coefficients against the textbook ones, at the equator and 65° N in March, give a slightly bluer day sky (about 5–10 of 255 in blue) and less red at the twilight zenith. GPU cost, desktop: the eight-station field adds about 0.03 ms to the aerial volume; the haze's multiple scattering in the sky-view bake, about 0.05 ms. A table re-bake costs 0.2–0.3 ms, and only on a 3% change, seconds apart. The phone profile (Low) measures the same within noise.
Aerial perspective and visibility
A 32³ compute froxel volume carries in-scattered light and per-channel transmittance out to 128 km, so distant terrain fades into the sky color without a seam. Reported visibility V sets the fog extinction σ = min(0.015, 3/V). That is the WMO meteorological-optical-range definition (5% contrast threshold) inverted. Wildfire smoke uses the same path. Ground fog scatters forward like its droplets: a Henyey–Greenstein phase at g = 0.8 on 70% of its light, so fog glows toward the Sun and stays dim away from it.
aerial perspective off
physically scaled
haze too denseCape Town: aerial perspective off (flat, over-saturated distance), physically scaled (crisp foreground, blue distance), and with haze too dense (washed out). The middle frame is the model; the outer two show why the scale matters.
Twilight, gated on the real Sun
Each stage of dusk is driven by the sine of the true solar elevation:
- haze multiple scattering closes near −1.1°;
- haze sunlight closes at −5.7°;
- dome scattering closes at −6.9°, near the end of civil twilight;
- stars reach full brightness at −8.6°.
Clouds at 2 km see the Sun about 1.4° longer than the ground beneath them, from the horizon dip √(2h/R), so cloud tops stay pink after the valley is dark.
Surfaces and light
- BRDF. Cook–Torrance specular over Lambert diffuse: GGX distribution, height-correlated Smith visibility (Heitz 2014), Schlick Fresnel, and multiple-scattering energy compensation (Fdez-Agüera 2019). The Sun is lit as a disk, not a point.
- De-lighting the photographs. Photogrammetry has the day's sunlight baked into it. Explorer estimates the lit level and shadow color in each tile from its own statistics and removes them, so the true Sun can relight the scene. The thresholds were measured on San Francisco imagery. Airfields are excluded using OpenStreetMap runway polygons.
- Night lights. NASA Black Marble VIIRS night lights (about 490 m) set the lamp density. Lamps sit on Earth-fixed grids, kept to roads by an OSM-derived urban mask, with cos³/d² light pools. Each place switches on at its own terminator, and town glow lights the cloud bases above.
- Lamps and headlights. These use IES LM-63 photometric profiles.
Lower Manhattan at dusk.
A town at night: streetlights placed by VIIRS density on OSM roads.Clouds and weather
Volumetric clouds
The clouds are ray-marched through a spherical shell at the true planet radius. There are no cloud sprites or meshes.
- Light. Beer–Lambert extinction with energy-conserving steps. The phase function is the Jendersie–d'Eon (2023) HG + Draine fit to Mie scattering by 12 µm water droplets, which produces the silver lining. Multiple scattering uses eight octaves (Wrenninge 2013), and edges use the beer-powder term.
- Sunlight and night. Sunlight on the clouds is reddened through the atmosphere's transmittance table. Ambient light comes from the sky model, and town glow on the cloud bases from VIIRS.
- Cloud types. Up to four layers drawn from six vertical profiles (cumulus, sheet, thick, cumulonimbus with anvil, small cells, feathered). Storm tops reach 11 km or more.
- Same sky for everyone. Clouds drift by weekly wind fields keyed to UTC, so every player sees the same sky.
- Pyrocumulus. A wildfire's smoke column that climbs at least 300 m past the lifting condensation level grows a cumulus cap there. The level is 125 m per °C of dew-point spread (Espy's estimate), from the station report, 1500 m when it is not known, and kept between 150 m and 5 km. The cap's top is the smoke's top plus 30% of the column's depth past the level, for the heat its condensing water gives back, at most 12 km. It is a tower, not a pillar: at least a quarter of its depth in radius, at most 2 km. It is placed where the smoke model's puffs reach that height downwind, leans as they do, and is drawn as a cloud of the volume, lit and shadowing like the rest, with billows of about half its radius. Its outer part is thinner than its core, so its edges show the light through. With the lenticulars, the nearest 8 are drawn.
- Lenticulars. Stable air carried over a mountain in a strong wind rises and falls in a lee wave, and a lens of cloud stands where a crest of the wave lifts it past the condensation level. Peaks are found on a 13 × 13 grid of the elevation model, 8 km apart (the highest of 9 points in each cell), where a point is the highest of its neighbors, at least 1200 m above sea level and 600 m above the lowest ground two cells round. The 3 highest, 15 km apart or more, raise waves when the wind at their crests (the forecast's winds aloft, else the cloud deck's) is 13 m/s or more. Linear lee-wave theory gives the wavelength λ = 2πU/N, with N = 0.01 /s: a lens half a wavelength downwind (6.9 km in a 22 m/s wind) and a smaller one a wavelength further, long across the wind, 0.8 km plus half the peak's relief over its crest and above the condensation level. Only in fair weather (clear to broken), where they would show.
The Grand Canyon, no clouds.
The same view with a cloud deck and its shadows on the terrain.Live and dynamic weather
- Station reports. METAR reports (WMO FM 15) come from aviationweather.gov through the project's own relay. Cloud cover codes map to coverage (FEW 0.25, SCT 0.5, BKN 0.78, OVC 1.05), the ceiling sets the cloud base, and visibility sets the fog.
- Reported cloud layers. Each cloud group of the nearest report becomes its own layer at its reported height above the ground, up to the four the cloud pass draws, and gets a cloud type. The type follows the height band (low under 2 km, middle to 6 km, high above) and the cover. Low FEW or SCT is cumulus, with fractus scraps under 300 m. Low BKN or OVC is stratocumulus, or stratus under 300 m or with the dew-point spread at 1.5 °C or less. Middle FEW to BKN is altocumulus, middle OVC altostratus, and high cloud is cirrus. CB and TCU are read from the report's text (the decoded report drops them): CB rises to the tropopause (12, 11 or 9.5 km by latitude) and TCU 3.5 km. A CB layer's cover is split: 40% is the towers (as in the forecast's thunderstorm sky) and the rest is heaped cumulus at the same base. With the whole cover as towers, their anvils spread into one sheet across the sky. VV is stratus down to the ground. Steady rain or snow makes the low deck nimbostratus, and thunder with no CB marked turns the lowest low layer into one. Each layer's coverage is set by type, so the sky shows its cover: the middle of the cover's oktas (0.19 of the sky for FEW, 0.44 SCT, 0.75 BKN, all of it OVC). This is fitted to the fraction of the sky the cloud field shows looking up from the ground, at nine places 2.5 km apart. A BKN stratocumulus deck takes coverage 0.82 and a BKN altocumulus one 0.95. Checked over a station, the sky showed 0.76 for BKN015, 0.51 for SCT015 and 0.20 for FEW030. A BKN altocumulus deck at 9,000 ft showed 0.62: altocumulus cells never close up past about three quarters of the sky. A layer's patches of more and less cover fade out near the station, none within 7.5 km and full from 25 km, so the station is not left under a gap its report does not have.
- Checking a cumulus. Air lifted from the ground condenses near 125 m × (T − Td). A patchy low layer counts as cumulus only by day (09:00–20:00 solar time) and outside a high-latitude winter (poleward of 45°), and only with its base within 500 m (or half the level) of that height. Otherwise it is stratocumulus.
- Depth and blending. A report gives bases only, so depths are typical ones by type, each layer's top kept under the next base. With the forecast model, CAPE deepens cumulus to 1 km + 2.5 m per J/kg (5 km at most). The model's middle and high cover also add an altocumulus or altostratus and a cirrus layer where the report has none: automatic stations see only 12,000 ft. Stations within 100 km, and the nearest in each of seven directions out to 150 km (the haze's ring), blend into the nearest station's layers by inverse square distance, where they agree on type and lie within 600 m in height. A new report eases in over 90 s.
- Weather far off. The sky 50 km away is the weather reported there, from a weather map baked on the CPU: 256 × 256 texels over a 300 km square (about 1.2 km a texel) around the camera, baked again when the camera is 50 km from its middle, when new reports or model hours come in, and every 10 minutes. Its four channels are the low (under 2 km), middle (2–6 km) and high cloud's cover, and the precipitation. Each station's reported layers give its cover per band, spread by inverse square distance with a reach of 60 km (35 km for rain), tapered to nothing at the reach. The forecast model's areas (0.25°, asked for on a 60 km lattice about the map) fill in where no station is near, at 0.15 of a station's weight, and an area across a shoreline from a texel counts 0.05 as much, so a marine layer ends at the coast: the sea and the land are known from the camera's water mask near it and, farther, from Natural Earth's 1:10m land polygons baked onto a 0.05° grid (about 5.5 km). A station that reports no middle or high cloud says nothing of it; the model says it there. In each band, the layer with the most cover takes the map's cover there, and a second layer in the band scales its own by the map's value over the map's value at the camera (at most twice), so it keeps its share. A band the camera's sky lacks gets a layer of its own when the map has cloud in it elsewhere, of the type of the low cloud the station with the most of it reports. A second channel holds the low cloud's kind (stratiform to convective, from the stations' types and the model's CAPE and showers), and a low layer's vertical profile turns toward cumulus or stratocumulus by it. The rain cells follow the map's rain: in each cell's square, a light rain's cell where it is 0.1 of the scale or more, a heavy rain's from 0.45, and a storm's from 0.9 when the map has thunder; none where it is dry. The storm cells stand as towers in a cumulonimbus layer, and the rain shafts, the cockpit radar and the briefing's radar use the same cells. Over the reporting station the cover stays the reported one. A new report's sky comes in over 90 s; a new square is shown at once, its values in place the same, as is every bake in the first 30 s (while the model's areas come in). The model is read at the quarter hour, so players in a room with the same reports bake the same map. The briefing's sky around the field and the map page's weather layer read the same map. A picked weather keeps one sky everywhere. For pictures and films, a painted map (an image whose four channels are those above) can take the baked one's place; each peak of its rain becomes a cell, as wide as the rain stays over half the peak. It is the player's own and is not shared in a room. Checked on a real front (3 December 2026, Joplin, Missouri: overcast at 1,900 ft over southeast Kansas, clear over Springfield): the map had 0.98 low cover 60 km west and 0.01 60 km east, and the deck drawn went from overcast over Kansas to scattered cloud over Joplin.
- Forecast model. Open-Meteo fills in where no station reports. It supplies cloud layers, winds aloft on pressure levels from 1000 to 300 hPa, and ocean swell.
- Past dates. With the clock more than six hours back, the stations' reports are the archived ones of that time: the Iowa Environmental Mesonet's ASOS and international METAR archive, the report nearest the sim time within 90 minutes for the eight nearest airports with four-letter identifiers within 150 km, asked at most every 10 seconds and again each half hour of sim time. Without a station near, the model's own past is used. From 1 June 2021 that is Open-Meteo's archive of the forecasts as they were run (every variable); before then the ERA5 reanalysis (ECMWF), which has no visibility, CAPE or winds aloft. Past sea states come from the marine archive from 2022, and before it from ERA5's ocean waves, taken as the swell. A past day is asked for once and kept.
- Dynamic weather. Without live data, weather moves between 13 types on a weighted graph. Snow is allowed only above 2,000 m, beyond 62° latitude, or beyond 33° in that hemisphere's winter.
- Rain cells. Radar-like cells on a 15 km grid drift with the wind. The same cells drive rain shafts, the cockpit weather radar, where lightning strikes and storm up- and downdrafts. With the weather map, each cell's kind is the map's rain there (above).
Inside a hurricane
- Which storm. The one placed near the camera (the Storm at sea setting, or a room host's), else the nearest real storm within reach of its weather: today's advisories near now, a past date's best track. A placed storm's wind, pressure and rain apply everywhere. A real storm's apply only where no station reports within 60 km, since a station near a real storm already reports its wind and pressure.
- From a fix. A real storm's vortex is built from its advisory or best-track fix: center, one-minute maximum wind, central pressure and motion. The radius of maximum wind is the US agencies' where IBTrACS has it (mostly from 2004). Elsewhere it comes from Willoughby, Darling and Rahn's (2006) fit, R = 46.4 exp(−0.0155 Vmax + 0.0169 φ) km, about 31 km for 54 m/s at 25°. A reported pressure too high for the wind (Holland's B past 2.5) is lowered to suit it.
- Fitted by quadrant. Where the best track gives the 34-knot wind radii, the Holland profile beyond the radius of maximum wind is stretched in each quadrant (NE, SE, SW, NW) so that the gale reaches as far as reported. The stretch is blended between the quadrants, refined three times and held to 0.4–3. In tests, each quadrant's 34-knot radius comes within 8% of the one asked for, with nothing changed inside the radius of maximum wind.
- Wind aloft. GPS dropwindsondes' mean eyewall profile (Franklin, Black and Valde 2003), as a multiple of the 10 m wind:
- 1.22 at 500 m, the boundary-layer jet;
- 1.11 at 3 km, the 700 hPa flight level (the surface wind is 0.9 of it there);
- 0.95 at 7 km, 0.3 at 12 km, and nothing by 14 km, where the outflow takes over.
- Pressure. The sea-level pressure under the aircraft is the vortex's, so a fixed altimeter setting reads off as it would. Placed with the camera at 1.5 radii of maximum wind, a category 4 has the pressure there 34 hPa under the surroundings' 1010.
- The radar picture.
- Eyewall. A ring of cells at 1.1 radii of maximum wind around a clear eye: red and magenta, and in a major hurricane up to the top level. It is strongest ahead and to the right of the track in the north (the left in the south).
- Rain bands. Three or four logarithmic spirals at a 12° pitch, winding in the way the wind turns. Their cells are heavy near the storm and lighter out to the rain shield (150 km plus 2 km per knot), with gaps.
- Tropical storm. A ragged inner ring with rain over the center, and no eye.
- Turbulence. Most in the eyewall: 1.5 m/s plus 0.065 of the maximum wind, more than an ordinary thunderstorm's 4.5 m/s in a major hurricane. Some all through the rain shield, less in the eye, thinning out above 12 km.
Snow, seasons and ice
- Real snow cover. From NASA MODIS Terra MOD10A1 daily snow (500 m) via GIBS. The snow index is converted to snow fraction with Salomonson–Appel (FSC = 1.45·NDSI − 0.01), and four days are combined to see through clouds. Snow slides off slopes steeper than about 53°.
- Seasons. Spring arrives 2.5 days later per degree poleward of 45° and one day later per 40 m of height. Fall color and grass dormancy are mirrored for the southern hemisphere.
- Ice. Hoar frost forms on clear, calm, cold nights. Rime grows back from an airframe's stagnation line, parked aircraft frost over, and lakes freeze by latitude and temperature.
- Wet ground (after Lagarde). Albedo drops by surface type, puddles form only on level ground, runways gain a clear coat, and raindrops ring the water.
- Lightning and thunder. Strikes are placed at the nearest storm core, and the thunder arrives d/343 s later.
Lake Tahoe under the snow cover MODIS measured that day, with the runway plowed clear.
Rime ice on the nose, spinner and wing leading edges.
Wind-driven waves and raindrop rings on a bay.
The weather briefing: station report, winds aloft, freezing level, icing and radar.Rainbows and fogbows from first principles
The rainbow's phase function is computed one wavelength at a time from 400 to 700 nm:
- the measured refractive index of water;
- geometric optics for the external reflection, the primary bow (one internal reflection) and the secondary bow (two);
- Airy theory Ai²(−z) near each bow, with z scaled by (λ/D)2/3;
- conversion to color through the CIE 1931 observer;
- an average over a spread of drop sizes and over the Sun's 0.266° disk.
Drop size comes from rain rate by Marshall–Palmer, D₀ ≈ 0.89 R0.21. Supernumerary bows in drizzle, Alexander's dark band, and the broad white fogbow from 15 µm fog droplets all emerge without being drawn by hand. Cloud shadows on the rain can break the bow.
- Flattened drops. Large raindrops flatten as they fall (Beard and Chuang 1987). The bow is built from three rows of the phase table, for light scattered sideways, upward and downward, so the top of a downpour's bow is fainter than its feet, as observed.
- Spray bows and moonbows. Spray thrown up by boats makes its own small bows. At night the moonlight makes a faint moonbow by the same table.
The aircraft's shadow, the glory and fog inside cloud
- The craft's shadow. The aircraft casts its shadow on the lit tops of the clouds, from its own shape. Its model is cut into cells once (48 across its longest side; the propellers and rotors are left out), and the cells are splatted, as the sun sees them, into a 64×64 mask with its mips. The mask is redrawn only when the sun moves against the craft's axes by more than about half a degree. The sun's disc blurs it: the march reads the mip as wide as the sun's disc there, so the penumbra widens by 0.0093 × the distance behind the craft, and the umbra ends about 107 sizes back (a wing of 2 m chord loses its sharp shadow some 200 m behind). A balloon's envelope, which its model does not hold, is a disc. The shadow darkens only the lit surface and fills in over the first optical depth into the cloud. Past 400 sizes it is gone. Other players' aircraft cast theirs too: the nearest three within 428 of their sizes of the camera, moved on by their speed between updates.
- The glory. Colored rings around the shadow's head, at the point opposite the sun, come from a Mie-theory bake of our own (Bohren and Huffman 1983). It uses droplets in a gamma size distribution (Hansen and Travis 1974, effective variance 0.1) with effective radii from 4 to 16 µm. The bake runs from 380 to 780 nm under a 5778 K sun and converts to color through the CIE 1931 observer (the Wyman, Sloan and Shirley 2013 fit). The angles are smoothed over the sun's disc. The table stores the ratio to the clouds' gray phase function for the last 10° before 180°. The code was cross-checked against miepython (to 10−11) and against the Bohren–Huffman test case. Liquid cloud types take their droplet radius by type: stratocumulus 7 µm over land and 11 µm over the sea, for instance. Larger maritime droplets make smaller rings. Ice cloud (cirrus, altostratus) shows no glory. The glory is drawn at its single-scattering strength: the sunlight that reaches each point, times the rings' share of the phase function, with none of the multiple-scattering octaves' terms. It stays visible from 200 m to 5 km above a deck.
- What the aircraft flies through. The turbulence, icing and wet windshield of flying in cloud start where the drawn cloud is. Each frame the cloud pass reads its own cloud volume at the aircraft's center and wingtips and hands back the extinction and the distance to the surface a frame or two later. The aircraft counts as in cloud from about 0.005 /m of extinction, a tenth of a real cloud's. Where the volume has no answer (the classic deck, or before the first read) the deck's band between its base and top stands in. Above 35 m/s, a wingtip in cloud trails a streamer of condensed vapor.
- Visibility inside cloud. A real cloud's extinction is β = 3 LWC / (2 ρw re). With 0.3 g/m³ of liquid water in 10 µm droplets, β = 0.045 /m and the visual range (3/β) is about 70 m. The clouds drawn for their look from afar have 0.01–0.03 /m inside a stratus or nimbostratus deck (100–300 m) and 0.0025 /m in cirrus (1.2 km). Within 100 m of the camera, fading out by 300 m, liquid cloud is brought to the real value. The fog starts a few meters out, so the cockpit stays clear, and only some tens of meters inside the cloud. It is patchy, in patches fixed to the world, and lit as the cloud is. Ice cloud stays thin.
Wind near the ground
- Atmosphere. The International Standard Atmosphere to 20 km, with a hot- or cold-day offset for density altitude.
- Boundary layer. From textbook values (Stull 1988, Whiteman 2000): a daytime mixed layer with a log-law profile near the ground, a nocturnal inversion, Ekman turning, a low-level jet and katabatic drainage. Albuquerque's famous "Box" wind pattern, which balloonists use to return to their launch field, emerges from these with nothing scripted for that city.
- Terrain wind. Liston and Elder's MicroMet (2006) bends and speeds the wind over terrain.
- Turbulence and windshear. Dryden turbulence per MIL-F-8785C and MIL-HDBK-1797. Microbursts use the analytic model of Oseguera and Bowles (NASA TM-100632), with a windshear hazard index.
- Soaring. Thermals live and die with sun and weather, and ridge lift comes from wind times slope.
Oceans and water
- Sea level. The sea surface sits on the EGM96 geoid (undulation −107 to +85 m), computed in double precision.
- Waves. A Tessendorf FFT ocean: a 128² grid evolved into 16 octave layers from 0.5 m to 16 km. It uses the fetch-limited JONSWAP spectrum with Donelan–Banner spreading, driven by the real wind and swell. Slope variance below the grid's resolution is folded into the surface roughness, so the sun glint stays stable.
- Swell near the shore. Within 2 km of the camera, the day's swell (Open-Meteo's height, period and direction with live weather; otherwise a 1 m, 10 s swell running in to the shore) is traced in as rays 12 m apart over the bed's depths (section 2). Each ray turns by Snell's law, with the phase speed from the dispersion relation ω² = gk tanh kh. The crests are the lines of equal phase travel time across the rays, so they slow, shorten, turn to meet the beach, wrap around points and focus over reefs by themselves. The height grows with shoaling (energy carried at the group speed) and with converging rays, and is capped where the wave would break at 0.78 of the depth (McCowan 1894). Under it, the FFT's swell-length layers fade out. The same swell bends the surface seen from under the water and focuses its caustics and light shafts.
- Diffraction. All rays step together, a crest at a time. A ray that runs onto a breakwater or a point is carried on across it at its neighbors' speed, empty, and along each crest the energy spreads from the higher wave to the lower, as in Mase's (2001) energy balance with κ = 2.5. So the water behind a breakwater fills in from its tip.
- Caustics. Past a point where rays cross, the fan folds over and two or three families of rays cover the same water. Their energies add.
- Checked against theory. In tests, the rays over a straight beach stay within 0.03 rad of the angle Snell's law gives, and shoaling within 0.005 of √(cg0/cg). A round shoal focuses the swell to more than 1.8 times the height beside it.
- Diffraction checked. Behind a breakwater the heights follow the energy diffusion they model within 0.06, and Sommerfeld's exact solution within 0.25. They run high at the shadow's edge (half the energy there, where the exact solution has a quarter) and fall off faster deep in the shadow.
- Measured in the app. Off Duck, a 1 m, 10 s swell runs 0.48 m in amplitude at 11.8 m deep (theory 0.48) and is capped at 0.47 m over the 1.2 m shallows. The trace of 419 rays takes about 250 ms in a worker, baked to 512² texels over 4 km.
- Field check. 39 hourly records from 2017–2018 at the US Army Corps of Engineers' Field Research Facility at Duck, North Carolina: the 26 m buoy's swell traced over the surveyed bed (as a small spectrum, five directions and three periods) to the gauges along the facility's line. The model's RMS error is 0.30 m at 11 m deep, 0.34 m at 8.9 m and 0.36 m at 6.8 m, better than taking the buoy's height unchanged (0.34, 0.38, 0.36 m) or shoaling it alone (0.34, 0.41, 0.44 m). At 4.8 and 3.5 m it is 0.39 and 0.52 m, worse than the unchanged height (0.33, 0.43 m) but better than shoaling alone (0.48, 0.65 m). Every method reads 0.2–0.4 m high, even at 11 m, where the losses below take little.
- Losses on the way in. Bottom friction on the waves' orbital flow at the bed, (2/3π) ρ fw ub³ with a sand bed's friction factor fw = 0.015 (Jonsson 1966), and random-wave breaking: a sea of many heights breaks a few waves at a time over a bar or reef long before the average one reaches the limit, the fraction breaking from Hrms over the highest wave the depth holds (Battjes and Janssen 1978, α = 1, γ = 0.73). In the surf zone of a 1:50 beach the significant height settles near 0.65 of the depth, against the single wave's 0.78. They took 0.01–0.04 m off every gauge's error in the field check.
- Reflection. A cliff, a sea wall or a harbor mole sends the swell back out, and the two trains cross. Where water meets land on the bed's 25 m grid, the depth over a cell gives the face's slope tan β, and the share sent back is Battjes's (1974) Kr = 0.1 ξ², from the surf similarity number ξ = tan β / √(H₀/L₀), at most 0.9. A 1 m, 10 s swell gets less than 1% back off a 1:50 beach and 0.9 off a face that drops 8 m in a cell. The reflected wave is the incident one mirrored in the face's line, in phase at the face, held at full strength out to 40% of three of its wavelengths (300 m at most) and then faded. In a test, a swell run square into a wall stands as a clapotis: more than 1.5 times its height at the antinodes and less than 0.6 at the nodes between.
- Breaking waves. Where the swell's unbroken height passes 0.78 of the depth, it breaks. The kind comes from the surf similarity (Iribarren) number at the break, tan β / √(H/L₀), as Battjes (1974) sorted it: spilling below about 0.4, plunging from there to 2, surging above. Each crest's progress runs from 0 offshore through 0.5 at the break to 1 once collapsed, from the most its height has been over the breaking limit along its ray, so a crest starts to break over the shallowest bar or reef edge and peels along.
- The shape. As it nears the break the sinusoid becomes a solitary wave (sech², peaked crest, long flat trough), and once broken a bore (a sawtooth with a steep front), with the mean level kept. On top, a cross-section of our own: a plunger's face leans until upright and its lip is thrown forward and falls to the trough ahead; a spiller only steepens and bulges. Both collapse back flat.
- Sets and lulls. Each crest has its own size, groups of about seven waves, plus a little at random per crest and along it (each within ±0.2 of the mean).
- White water. Foam on the lip and face, a white bore front and a trail behind it, per pixel. The boats and swimmers ride the same breaking surface.
- Longshore current. Waves breaking at an angle to the beach drive a current along it (Longuet-Higgins 1970: the longshore part of their radiation stress, given up as they break, against the bed's friction). Each ray where it breaks gives its breaker height Hb = 0.78 hb and its angle θb to straight up the bed's slope (taken over 100 m each way: about a bar's end or a channel the contours curl round within a cell or two), and so the current at the middle of the surf zone, Komar and Inman's (1970) V = 1.17 √(g Hb) sin θb cos θb, along the depth contours the way the waves lean. Across the surf zone it goes as 4u(1 − u), u the depth over the breaking depth: none at the break and at the waterline, most halfway; none outside. It carries swimmers and boards along the beach. The current does not turn the waves (no wave–current refraction).
- Rip currents. Breaking waves pile water up against the shore: the setup, about 0.19 of the breaking depth at the waterline (Bowen, Inman and Simmons 1968). Behind a bar the waves break big and early and the setup is high; behind a channel through it they break late and small, and it is low. Along the shore the water runs from high to low in feeder currents, against a friction the waves' own orbital flow sets (Longuet-Higgins's linear law, cf = 0.01), at most 0.5 m/s. Where the setup is lowest for 60 m each way and at least 4 cm under both sides, the feeders' flow turns out to sea in a jet 25 m wide, as fast as continuity asks (their flow over the jet's width and the breaking depth), at most 1.5 m/s. It runs from the waterline out through the surf zone and fades over another surf zone's width beyond. In a test, a 1.2 m, 10 s swell on a 1:50 beach with a bar 1.6 m high cut by an 80 m gap sends a rip of 1.0 m/s out through the gap, and the water along the shore runs toward it from both sides, up to 1.3 m/s at the bar's ends. Elsewhere along the bar, none. Rips carry swimmers and boards, and pulse with the sets: ±35% of their speed over the sets' cycle of about seven waves, hardest about two waves after a set's biggest crest, as the water it piled up drains back out (field measurements show ±30–50%, MacMahan et al. 2004). They are drawn: the water in the jet turns murky and tan with the sand the breakers stir up (from 0.15 m/s, fully at 0.8 m/s), and streaks of foam drift out along it at the jet's own speed.
- Waves on currents. The swell is traced twice. The first trace's breakers drive the longshore current and the rips; where those, a river's outflow (the water map's current) and the tide's own currents (from NOAA's current stations within 3 km, predicted from their harmonic constants) reach 0.1 m/s, the rays are traced again over them. As the tidal current turns, the swell is traced again each time it has changed by 0.15 m/s. Along a ray the swell's frequency stays the same while the water's own is what the current leaves of it (ω = σ + k·U). The ray runs at the group speed plus the current, the crest turns on the depth and on the current's shear, and the height carries wave action, E/σ, rather than energy (Bretherton and Garrett 1968). Against a current the waves shorten and grow, and with it they lengthen and fall. Where the current against them leaves less than a fifth of their group speed they cannot pass, and the ray ends. In tests, an opposing current gives the wavenumber and height that wave action asks for; a 10 s swell running 30° across a 1 m/s current in 10 m of water turns to 32.2°, as the conserved wavenumber along the current has it. Behind the barred beach's 80 m gap, the rip's waves are up to 7% taller and break sooner than over still water.
- Rivers. Each OSM waterway runs downstream at its kind's speed (a river 1.3 m/s, a stream 1.0, a canal 0.3), faster where the ground falls steeply along it: from a fall of 0.006 (measured over 150 m either way, as the elevation model is lumpy) to 0.03 and more, it rises to 3 m/s. The water there turns to rapids. Near the camera (within 250 m) the fast water also gets features of its own, on a 10 m lattice fixed to the ground so they stay where they are: a standing wave below a rock where it runs over 1.5 m/s, or over 1.1 m/s where the bed itself falls steeply along the flow (from 0.008 to 0.03, measured over 30 m either way), with more of them there: a boulder garden, a hole (a hydraulic jump, the level stepping up with a roller at its toe) on a few spots past 2.2 m/s, an eddy line where water at 1 m/s or more runs within 7 m of water at under 0.35 of its speed, and a boiling pool with rings at the foot of each waterfall (players' and OSM's
waterway=waterfall). Each is a shape of our own, looping in a few seconds, turned to the local flow; at most 24 at once. They tilt and whiten the surface in the shader; a river's surface is the ground leveled along it, so nothing is displaced. Three standing waves in four have their rock drawn: a lumpy boulder a third to a half as wide as the wave, turned to the flow, standing from just under the surface to a little more than the wave's height out of it, set on the drawn ground (the elevation model's own height there stood up to a meter under it on a rapid). The rest stand over a rock too deep to see. - Swash and wet sand. Up the beach each wave runs as a thin sheet, fast up and slower back, foam lace at its edge and lines of foam left on the sand as it draws back. How high: the run-up exceeded by 2% of waves, Stockdon et al. (2006), R₂ = 1.1 (0.35 β √(H₀L₀) + ½ √(H₀L₀ (0.563 β² + 0.004))) β being the beach's own foreshore slope: the median slope of the ground between the waterline and the run-up's top within 240 m, from the 3 m coastal survey on US coasts (0.09 at Duck: about 1.1 m for a 1 m, 10 s swell), else from the ground as drawn, kept to 0.02–0.2 (1:12 where no beach is found). Each wave runs up its own share of it. The sand is wet by how long since the water last left it: the last 24 waves' run-ups are searched for the latest that reached this high. Its glossy film goes in about 6 s, its darkness over a minute or two. Above the last waves' reach, the sand a falling tide has left is wet too: the tide is followed back to its last high water, and between that and the next low it is taken to fall as half a cosine, which says how long ago it left each height. That sand keeps its shine for about two minutes and loses its darkness over an hour or two; above the last high water it is dry. It all goes by the ground's height over the sea's level, the tide's included, so the tide moves it up and down the beach; within the water map's 16 m shore band on the land side.
- Whitecaps. Coverage follows the Monahan–O'Muircheartaigh fit, 2.95×10−6·U3.52.
- Out to the horizon. The water is shaded out to 1.6 times the distance to the horizon, √(h(h + 2r)), at most 600 km, and to 60 km at least. Past the camera's water mask (a few kilometers) the sea and the land are told apart by Natural Earth's 1:10m land polygons on a 0.05° grid, painted into a 256² map 1,300 km across about the camera, painted again each 100 km. Where that map says sea, the still sea level stands in for the coarse far terrain, so the sea runs unbroken to the horizon from any height.
- Storm seas. A tropical storm or hurricane placed near the camera, the camera 1.5 radii of maximum wind to the right of its track, then moving on along its track by the sim's clock: six hours on, a category 3 is 123 km off and the sea under the camera has fallen from 13.6 m to 7.2 m. The track recurves, as storms caught by the westerlies do: it starts north-northwest at 5 m/s (south-southwest in the south) and turns 1.5° an hour toward the northeast (the southeast), its speed rising to 10 m/s by then. In a multiplayer room the host's storm is everyone's: the host sends where and when it was placed, and each player's clock, the room's, moves it along the same track. Over land it weakens as Kaplan and DeMaria (1995) found for landfalling hurricanes: at once to 0.9 of its wind at the coast, then toward 26.7 knots with an e-folding time of about 10.5 hours (α = 0.095 per hour), the land from Natural Earth's coastline on a 0.05° grid; back over the sea it keeps what it has left. It is placed again when picked, after a jump of 1,000 km, or 48 hours from its placing (category 1–5 by the middle of each Saffir–Simpson wind band, the radius of maximum wind 60 km for a tropical storm down to 22 km for a category 5, the central pressure from Atkinson and Holliday's (1977) wind–pressure relation, about 919 hPa for a category 4). Its wind is Holland's (1980) profile, B fitted so the surface wind (0.85 of the gradient wind) peaks at the maximum; it spirals in at 10° inside the radius of maximum wind and 25° beyond, with the storm's motion added as Jelesnianski (1966) weights it, so the right of the track blows hardest in the north. The sea is a fetch-limited JONSWAP sea in the local wind over Young's (1988) equivalent fetch for a moving hurricane: a category 4 raises about 15 m at the eyewall on its right, near the largest seas measured under one. In the eye the wind drops and the sea does not: it keeps the eyewall's height, its waves spread to every side. From a gale on (17 m/s) the foam lies in streaks down the wind: thin lines that wander and break along their length, in patches at first, thicker and joining past 33 m/s, and spume tears off the crests. The streaks are laid on the water and move with it; where a crest squeezes the surface together they give way to their average cover, so they do not crowd into a hard white band on the crest; the same storm's sea is drawn as two parts whose energies make the whole: 30% of it as the traced swell, long crested, that runs in to the shore and refracts and breaks there, and the rest as the wave layers' short-crested wind sea, which keep their long waves under it. Under a real hurricane the mix changes around the storm, mostly wind sea at the eyewall and swell ahead of it; one share for all of it is a simplification. Tests hold the peak wind within 5% at the radius of maximum wind and a major hurricane's 34-knot radius within 100–400 km.
- Wakes. Kelvin wakes have the 19.47° half-angle, narrowing as √(0.6/Fr) above Froude number 0.6. They are built from the hull's actual track, so the wake arms follow its turns.
- Water clarity by place and season. NOAA CoastWatch S-NPP VIIRS Kd490, monthly for 2023–2024, at 0.075° cells. The diffuse attenuation coefficient becomes absorption and scattering in the water shader. Caribbean water is clear blue; a spring-bloom North Sea is green and murky.
- Light with depth. The surface Kd490 is spread across the spectrum by the bio-optical relation of Austin and Petzold (1986), Kd(λ) = Kw(λ) + M(λ)(Kd490 − Kw490). Coastal water clears toward open-ocean values between 50 and 250 m, where the plankton thins. In clear ocean, red is gone by about 25 m, and 2% of the blue daylight is left at 200 m, 10−4 at 500 m and 10−8 at 1,000 m. Below that, only lamps and living light remain.
- Under water. Light is absorbed per channel, red first. Caustics come from the inverse Jacobian of the wave surface, 1/|det(I + aH)|. Looking up, Snell's window (about 48.6°) is surrounded by total internal reflection.
- Tides. NOAA CO-OPS harmonic constants, within a few millimeters of NOAA's own predictions, plus tidal currents.
- Sea floor. GEBCO 2026 bathymetry; near US shores, NOAA NCEI's CUDEM; elsewhere near the shore, a modeled beach profile (section 2).
- Charts. Seamarks from NOAA ENC Direct and OSM, with a parser for light characters (for example "Fl(2) G 6s"), so each buoy flashes its charted rhythm.
Live ships
- Feeds. AIS arrives through the project's server relay. Fintraffic Digitraffic covers the Baltic without a key; aisstream.io is wired in but not yet tested live.
- Motion. Ships are dead-reckoned between reports along their course and turn rate. Each is drawn as a model chosen by its AIS ship type and scaled to its reported length.
- Lights and sound. COLREGS navigation lights are visible only over their regulation arcs, and ships sound a fog signal every two minutes.
- Tested. Verified in the browser with 95 real ships off Stockholm.
Flight dynamics and validation
Aircraft are rigid bodies integrated in the planet's own frame. Their aerodynamics come from separate lifting surfaces, from published coefficient tables, or from spec-sheet figures solved into coefficients. Every type is flown headless against handbook numbers and military flying-qualities criteria.
The model
- State and integration. State is kept in Earth-centered, Earth-fixed coordinates in double precision, so flight works the same anywhere on the globe. Integration is semi-implicit Euler at no more than 1/240 s, with Euler's equations for rotation. Against a 960 Hz reference the integrator matches touchdown gear load to 1% (6.42 g vs 6.48 g). A glider's two-minute glide loses the same 107.222 m in both, and energy drifts 0.01% in 10 s of ballistic flight.
- Lifting surfaces. Each half-wing has its own angle of attack and airspeed. Roll damping, adverse yaw, dihedral effect and propeller-blown lift therefore emerge rather than being added. The tailplane and fin are separate surfaces with lagged wing downwash and T-tail blanking. Four stall strips per half-wing give wing drop and buffet.
- Compressibility. Drag rise follows Korn's rule past the critical Mach, with a Prandtl–Glauert lift-slope rise, wave drag for supersonic airframes, and Mach tuck.
- Ground and structure. Ground effect follows McCormick. Gear struts are spring-dampers, and tire side force follows slip angle under a shared friction budget, with wet, snow and ice factors. The airframe fails at 1.5× its limit load.
- Coefficients from a spec sheet. Helmbold lift slope, flap increments from the published stall speeds, Raymer Oswald efficiency, and zero-lift drag bisected against the model's own trim at cruise. A 172-class spec solves to CLmax 1.62, CD0 0.028, e 0.83.
- Published coefficient tables. A reader and interpreter for the open JSBSim XML aircraft format, written from the format's published manual and schema, flies aircraft from FGAddon's GPL data tables. Cross-checks against independent references: C182S Cmα −0.66 vs Roskam −0.61; DC-10 CD0 0.024 vs 0.026.
- Propulsion. Constant-speed propellers use blade elements at 0.75R with momentum inflow, and feather and windmill. Piston engines have dual magnetos and a run-up mag drop. Turbine starts model light-off, hot starts and hung starts.
- Systems. Electrical buses, hydraulics, fuel crossfeed and starvation, and pressurization (8,000 ft cabin schedule, CABIN ALT at 10,000 ft), with hypoxia, from operating handbooks. Failures include a vacuum pump failure, after which the gyros run down and tumble.
- Pilot physiology. G-LOC accrues as a strain debt: grayout, tunnel vision, then blackout, with a g-suit option.
Validation suite
Each aircraft is flown by a scripted pilot and scored against these checks. A test fails the build on any regression, and also when a known miss starts passing, so the table stays honest.
| Check | Criterion |
|---|---|
| Phugoid | Damping per MIL-F-8785C §3.2.1.2; period against Lanchester π√2·V/g (0.75–1.5×) |
| Dutch roll | ζ ≥ 0.08, ω ≥ 0.4 rad/s (MIL-F-8785C Table VI) |
| Stall | Book speeds ±8%; break and wing drop per 14 CFR 23.201 / 25.201(d) / 25.203(b) |
| Field performance | Takeoff and landing distances, or factored field length per 14 CFR 25.113 / 121.195 |
| Wind tunnel | Lift slope vs Helmbold + DATCOM sweep; Oswald e vs Raymer 0.6–0.95; ground effect vs McCormick |
Across 17 fixed-wing types: 235 checks pass, 24 are documented known misses, none are unexpected misses, and 41 have no book figure to compare. Sample results for the Cessna 208 Caravan:
| Check | Model | Reference |
|---|---|---|
| Phugoid period | 43 s | 37 s (Lanchester) |
| Dutch roll damping ζ / frequency | 0.170 / 2.37 rad/s | ≥ 0.08 / ≥ 0.4 |
| Landing-flap stall | 60 kt | 61 kt |
| Takeoff ground roll | 1,308 ft | 1,160 ft |
| Landing roll | 701 ft | 715 ft |
| Oswald efficiency | 0.90 | 0.6–0.95 |
From the pilot's seat over Manhattan.
The same aircraft far above the Earth, with the curved horizon and dark sky.Rotorcraft, balloons, gliders, parachutes and drones
Helicopter rotor
- Rotor. Blade-element and momentum theory with lagged induced velocity. It covers translational lift, ground effect, autorotation on stored rotor energy, and vortex ring state.
- Flapping. The disc flaps with lag time 16/(γΩ) at Lock number 7, and flaps back with speed as (8/3·θ − 2λ)μ.
- High-speed limits. Retreating-blade stall sets in as CT/σmax falls as 1 − (μ/0.43)²: clear at 140 kt low and light, stalled at 140 kt at 3,500 m and heavy. Advancing tips go compressible past Mach 0.88.
- Tail rotor. It produces the 3.3° hover lean, and loses effectiveness in a left crosswind.
- Ground resonance. Four blades on lag springs couple to the airframe rocking on its skids. With the dampers failed, the whirl grows about 0.7/s and destroys the airframe in about 20 s.
- Downwash on the grass. The rotor's wash along the ground is a fit to the shape of measured outwash profiles (the wall-jet picture of Ferguson's FAA rotorwash handbook): from where the disc's axis meets the ground, the outward speed rises to a peak of 1.4 × the induced velocity at 1.2 rotor radii, falls off as 1/r beyond it, and is gone by 5 radii. Under the hub the wake blows down at twice the induced velocity. It weakens as the rotor climbs and is gone by 6 radii (three diameters) up. Slow pulses roll outward through it. Blades bend as the square of the wind's speed over their stiffness, so the grass lies flat under the hub and out in rings beyond the disc. A camera drone's four discs count as one.
- What the wash raises. The same outwash profile throws up spray off water, dust off bare ground, powder off snow and a little chaff off grass and crops, wherever its speed beats a threshold for that surface (8, 5, 4 and 11 m/s), the more the further above it. What covers the ground within three rotor radii comes from the land-cover map; rain keeps the dust down. The puffs leave the ground at about half the outwash's speed, drift with the wind, and spray and chaff fall back. A camera drone's wash is too weak to raise any.
Hot-air and gas balloons
- Lift. Lift = V(ρout − ρin)g from the ideal gas law.
- Heat. The burner releases propane at its lower heating value of 46.3 MJ/kg. Heat is lost by convection that grows with airspeed and by Stefan–Boltzmann radiation.
- Ceiling. Dry-adiabatic expansion gives the balloon a natural ceiling.
- Burn lag. Sphere drag plus added mass (half the displaced air) produce the delay between burning and climbing that balloon pilots know.
- AI pilot. It flies on envelope temperature and steers by choosing heights with the right wind. The Albuquerque Box (section 5) makes festival flights return to the field.
Gliders, towing, refueling, parachutes
- Glider launches. Winch launch with a speed-holding winch driver and a weak link; aerotow.
- Air-to-air refueling. Probe-and-drogue from a KC-130 pod and the boom from a KC-135.
- Wake turbulence. Vortex pairs with Γ = W/(ρVb₀) and Burnham–Hallock cores. They sink, drift with the wind and decay over 40–120 s, behind players and live ADS-B traffic alike.
- Parachutes. Freefall terminal speed about 54 m/s, a 2.8 s opening, and a ram-air canopy with brakes and a flare. Paragliding sites are real launches, checked against the terrain.
Drone light shows
- Assignment. Drones are assigned to their next formation by least sum of squared distances, with the Jonker–Volgenant algorithm: about 0.1–0.5 s per move for 1,000 drones, in a worker.
- Collision-free by construction. Straight paths with identical quintic easing guarantee a minimum spacing of the formation spacing/√2 (Turpin, Michael and Kumar 2014). The whole show is also sampled every 0.5 s for the closest pair.
- Limits. Speed, acceleration and battery limits are checked.
- Camera drone. A quadcopter with motor lag, yaw from rotor drag torque, and angle and acro modes.
Air combat (opt-in)
Bandits fly an energy model: corner-speed g limits, drag that grows with load squared, and thrust lapse with height. Cannon rounds fly ballistically. Missiles use proportional navigation with a proximity fuze. Radar has a Doppler notch, and IR seekers are blocked by cloud. The simulation is pure and seeded so a server can run it, and server-side hit checks with lag compensation are designed but not yet built.
Avionics, navigation, ATC and live traffic
- Pitot-static instruments. They model what each instrument actually senses. A blocked pitot makes the airspeed indicator read like an altimeter, and the VSI is a leaking case with a 2.5 s lag.
- Magnetic field. The World Magnetic Model WMM2025 (NOAA NCEI / BGS), degree and order 12 with secular variation, matches NOAA's 12 test values to 0.5 nT. The compass shows dip-induced northerly-turning and acceleration errors.
- Radio navigation. VOR, DME, TACAN and NDB, with range = min(published service range, radio horizon). ILS needles and PAPI. Holds per AIM 5-3-8 and PANS-OPS, with entries split at 70°.
- Published procedures. An ARINC 424 reader takes the FAA's CIFP (cycle 2612, effective 26 November 2026; 3,070 airports). It flies the standard path terminators (track to fix, DME arcs, holds, altitude- and intercept-terminated legs) for SIDs, STARs and ILS, RNAV (LNAV/VNAV/LPV), RNP, VOR and NDB approaches, with missed approaches.
- Flight management. VNAV plans the descent backwards on a 3° path through altitude constraints. The flight director shares one law with the autopilot. The 24-column FMS CDU has route, legs, departure/arrival, hold, performance and progress pages.
- Safety systems. TCAS II-style tau logic (traffic advisory at about 40 s, resolution advisory at about 25 s) and GPWS modes 1–2+.
- Airports. From OurAirports (public domain): 4,380 major and 5,061 small fields, 11,004 navaids and 7,470 frequency lists. Runway, approach and taxiway lighting is built from the surveyed runway ends.
- ATC. Phraseology follows FAA JO 7110.65 and the AIM, with ICAO Doc 4444 forms outside the US. Taxi routes run over the real OSM taxiway graph, with hold-shorts. ATIS is generated from the live weather report. The controller watches for altitude busts and runway incursions.
- Carrier operations. Catapult launch, the Fresnel-lens glide path, LSO grades, and a ship that steers to put the wind down the angled deck.
Live air traffic
- Feeds. ADS-B comes from adsb.fi, with adsb.lol as fallback, through the project's server relay. Each area is polled once for all clients watching it, and the relay honors Retry-After with exponential backoff.
- Motion. Aircraft are dead-reckoned along their track and turn rate, and corrections blend in rather than jump. Bank is the coordinated-turn bank for that turn rate.
- Display. ICAO type designators choose the 3D model. Nearby aircraft are drawn as models and distant ones as lights, and the camera can follow any flight.
Cars, boats, submarines, trains and skiing
Cars
- Chassis. A rigid body on four spring-damper wheels, set by natural frequency and damping ratio. Tire force follows slip angle within a friction circle shared with drive and braking, and load transfer emerges from forces acting below the center of gravity.
- Real specifications. Cars are built from published specs, for example an AC Cobra 427 (425 hp, 1,150 kg) and a BMW M4 with its seven dual-clutch ratios. A semi-trailer can jackknife.
- Apollo LRV. The Lunar Roving Vehicle has four 190 W motors, for about 13 km/h on the flat.
- Headlights. The low beam follows an IES photometric profile with a 1/sin³ falloff, so the road is lit evenly.
Navigation over the roads
- The road graph. OpenStreetMap's roads and paths from OpenFreeMap's zoom-14 vector tiles, loaded along a corridor of tiles from start to end (one to two tiles either side of the straight line) and built in a worker. Points within 3 m are one junction, and roads are cut into pieces of at most 40 m. Street names come from the tiles' separate name lines, matched to each road where most of its sampled points lie within about 10 m of a named line of the same class.
- Joining the tiles' streets. The tiles' lines are simplified, so streets that share a junction in OpenStreetMap often cross with no shared point, or end a few meters short of the street they meet. Two lines whose segments cross at 25° or more, on the same level (neither a bridge nor a tunnel unless both are, the same
layer, a motorway only with a motorway), get the crossing point added to both. An end within 4 m of another line's segment is added to that line. Shallower crossings are left alone: they are the same street drawn in two tiles, or a sidewalk beside it. On a downtown San Francisco corridor this cut the driving graph from 1,424 separate pieces to 41, and the walking graph from 2,346 to 124. - Three ways to travel. A car keeps one-way streets one way, never uses a road closed to traffic (
access=no), and is slowed to 3 m/s through car parks and driveways so they are not short cuts. On foot: every street both ways, footpaths, walkways and steps (steps at 0.6 of walking pace, trunk roads at 0.6 and primary roads at 0.85, so quieter streets are taken), no motorways or slip roads, nowhere markedfoot=no. A bicycle: 5 m/s on streets (less on primary and trunk roads), 5.5 m/s on cycle paths, footpaths pushed at walking pace unless bicycles are allowed, no steps, no motorways, one-way streets kept. - The route. A* on travel time, with the straight distance at the fastest speed of that way of traveling (26 m/s by car, 5.5 by bicycle, 1.4 on foot) as the estimate, so it returns the quickest path. Both ends snap to the nearest road in a piece of the graph of at least 300 nodes (or a tenth of the largest). A drive's time is the road class's speed times 1.6, for lights and turns.
- Turn restrictions. A driver's route keeps OpenStreetMap's turn restrictions (no left turn, straight on only …), which are relations the vector tiles do not carry. They are asked of Overpass by 0.05° cell along the way, kept for a month, and placed on the graph by position, since the tiles' roads have no OpenStreetMap ids: the junction is the nearest node within 6 m, and the roads in and out are the stretches within 35° of the bearing to the ways' next points. Restrictions through a way rather than a node, and those that exempt cars, are left out. On that corridor 922 of 995 were placed. With restrictions on the graph the search runs over stretches rather than nodes, so a turn's both ends are known, and it makes no U-turn except at a dead end. The route does not wait more than 8 s for them: when they come later, it is found again and changed only if the way differs.
- Turns. A maneuver is named where the street changes, or where the way bends at a junction, from the bearings 25 m either side: under 20° straight, under 50° a slight turn, under 125° a turn, past 165° a U-turn. Two within 15 m are one, a second turn onto the same street within 40 m is a jog in its drawing, and a run under 30 m between two pieces of one street (a crosswalk, a piece of sidewalk) is that street. Onto a slip road from a motorway or trunk road is an exit; from a slip road onto one, a merge.
- Long routes. Past 15 km in a straight line, or where the corridor's roads do not join up, the route comes from a public routing server: OSRM's own for cars, FOSSGIS's (OpenStreetMap Germany) for bicycles and walkers. Its maneuvers are read from its steps, with the exit numbers, the signs' destinations, roundabout exits and the lanes to be in. It is asked once a route, and not more than every 15 s.
- Following it. The player's place is the nearest point on the route's line. More than 40 m off it (25 m on foot, 30 m on a bicycle) for 3 s brings a new route from where they are; so does a change of how they travel. Arrival is within 30 m of the end (12 m on foot, 20 m on a bicycle). The voice warns at 1,000 m, 300 m and 60 m before a turn when driving, at 200 m and 40 m on a bicycle, and at 60 m and 15 m on foot. Flying or sailing, the route is kept and not followed. A route shared in a multiplayer room sends only its destination: each player who takes it gets their own route from where they are.
- Address search. Photon (komoot's search over OpenStreetMap) as the player types, near where they are, after a 450 ms pause. Nominatim answers an Enter that Photon could not.
Boats and sailing
A planing hull has a resistance hump where it climbs its own bow wave before planing, waterplane-stiffness buoyancy, dynamic lift and speed-dependent trim, and it rides the FFT waves and the swell near the shore. In the surf, where a crest is breaking or its bore runs in, the moving water carries the hull shoreward, yaws a boat with the sea astern beam-on (a broach) and rolls it; under power, bow-on, it holds. A hull that dips its deck or a float under a passing crest is swamped only if it stays under more than 3 s, so floats and small boats ride out a moderate sea. Sails produce lift and drag in the apparent wind, which is lifted to sail height by the log law, and they luff, stall, make leeway and heel the boat. Kayaks and canoes ride river flow and rapids.
Submarines
- Ballast and trim. Main ballast tanks flood and blow, with reserve buoyancy, in sea water at 1025 kg/m³. Dive planes need way on to work; a trim tank and the submersible's vertical thrusters hold depth without it. An emergency blow empties the tanks in an eighth of the normal time, and the high-pressure air recharges on the surface.
- Hull flow. Cross-flow drag makes the hull travel along its nose: pitched 10° down at 10 m/s it sinks about 1.7 m/s.
- Limits. It can rest on the bottom, and it has a crush depth. A submersible carries oxygen and CO₂ scrubbers for 96 hours for three people.
- Passive sonar. Every sound source is heard at its bearing when it stands over the noise: real ships from the AIS feed, boats, other players, whales and dolphins, and rain on the surface. Transmission loss is spherical spreading near the source, cylindrical once the sound is trapped between the surface and the bed, plus absorption (about 0.07 dB/km at a few kHz). Source levels grow with a ship's length and speed, and the boat's own flow noise grows with its speed. Contacts are classified after 6 s on a waterfall display.
- The layer. The sound speed by depth comes from the World Ocean Atlas 2023 (NOAA NCEI) monthly temperature and annual salinity profiles at 1°, through Mackenzie's (1981) equation. The mixed layer is where the water is 0.2 °C colder than at 10 m (de Boyer Montégut et al., 2004). Its strength is the drop in sound speed over the 100 m under it, 15 m/s or more counting as a sharp layer: crossing it costs up to 18 dB. A mixed layer deeper than about 25 m ducts the sonar's few kHz (spreading turns cylindrical past the layer's depth, less a leak of 0.5 dB/km). Two boats within 300 m of the deep channel's axis (the depth of slowest sound, from the annual profile: about 650 m off California, 1,250 m in the Sargasso Sea) spread cylindrically past 300 m. The server judges hunts with the same table; where it has no cell, the layer is estimated by latitude and month.
- Active sonar. A ping returns echoes from the bed, wrecks and hulls.
- Navigation without seeing. Dead reckoning with fixes taken on the surface or through the periscope, on a chart of depth contours.
- Deep science. Nine real hydrothermal vent fields, sampling with the manipulator, and bed surveys.
- Computer submarines. Patrols pass over deep water, and a solo hunt or evasion uses the online hunt's rules: a passive hold within 2.5 km for 30 s, or a ping's echo within 40% of its reach. Both sides hear each other with the same source level, transmission loss and noise sums. Their water is read from the GEBCO tiles, which reach past the drawn seabed.
- Tested. Checked in the browser with an attack submarine in Monterey Bay (periscope depth at 20 kt, 80 m at 30 kt) and a submersible on 6 m and 10 m dives at Looe Key.
Trains
- Track. Rail comes from OpenStreetMap, fitted with splines and grade-limited (2% main line, 4% mountain).
- Traction. Tractive effort is adhesion-limited at low speed and power-limited above. Diesel has notched throttles, steam has regulator, cutoff and boiler pressure, and electric has regeneration.
- Resistance. Davis-equation resistance plus grade and curve resistance per car, so a long train can span a crest.
- Air brake. The automatic air brake runs on a 90 psi brake pipe. The pressure drop travels down the train at about 250 m/s through triple valves, with direct or graduated release.
- Train forces. Couplers carry slack forces, and a knuckle breaks past 1.8 MN. Lateral acceleration can derail a train.
- Steam valve gear. Walschaerts valve gear is animated from its true linkage geometry.
- Live trains. Finland's Digitraffic and Norway's Entur, snapped to track and dead-reckoned. Timetabled trains from GTFS feeds are planned.
Skiing
- Resorts. Built from OpenStreetMap pistes and lifts, with 19 named start resorts.
- Snow on the runs. MODIS snow cover (500 m) loses snow on steep slopes, so an 8 m snow raster covers the runs. Run surfaces are smoothed with a 30 m Gaussian: at Ski Santa Fe, mean bumpiness went from 1.20 to 0.80 m, and the largest grade change per 8 m on one run from 18% to 13%.
- Skier physics. Friction by snow type, drag at the local air density, edge grip to about 2 g, and carving on a 7–18 m sidecut radius.
- Lifts. The rope sags 1.2% between towers. Detachable lifts run 5 m/s and fixed-grip 2.3 m/s, open 9 to 4 by solar time.
Underwater and the living world
Diving
- Dive computer. The Bühlmann ZHL-16C nitrogen model: 16 compartments with half-times of 4–635 minutes and the published a/b M-value coefficients. It uses gradient factor 0.85, water vapor at 0.0627 bar, and altitude-corrected surface pressure.
- Ascent and stops. Per-compartment no-decompression limits, ascent-rate warnings, and a safety stop.
- Buoyancy. Lungs, wetsuit compression and BCD air all follow Boyle's law, and air use rises with depth and effort.
- Dive sites. SS Yongala, Thistlegorm, Truk Lagoon, the Blue Hole and others.
Surfing
- Catching a wave. The rider reads the breaking wave under the board from the same traced swell and breaker state that draw it: its way, speed (ω/k), height, the phase from its crest, and how far it has peaked, broken and turned to a bore. A wave is caught lying on the board, on its face (from just behind the crest to 1.5 rad ahead of it), paddling hard within about 53° of its way, where it has peaked past 0.15 and with the board already at 0.4 of the wave's speed. Paddling makes 1.3 m/s, 2.3 m/s hard; the face's slope adds to it.
- Riding. The face carries the board on with the wave, 0.85 of what it lacks of the wave's speed. The rider's own speed along the nose is held to the wave's along its way (0.2 more high on the face, dropping in), up to 1.4 times the wave's speed across it. So straight in it goes in with the wave, and across it outruns the break as it peels. A board planing on a wave rides up to 0.12 m higher.
- Where on it. The face; the pocket where the crest is breaking (progress 0.45–0.85, within 0.6 rad of the crest); the barrel in a plunging break (plunge over 0.5, progress 0.55–0.8) going across (more than 30° off straight in); the soup once the bore passes 0.4. The ride ends where the wave does: off its back, out ahead of it, or where it neither peaks nor breaks.
- Wipeouts. Over the falls: at the lip of a plunging break (within 0.15 rad of the crest, progress 0.5–0.85) pointed within about 37° of straight down. Or the white water side on (bore over 0.6, more than about 49° across it) slower than the wave. The rider tumbles for 1.6 s, thrown toward the shore, then lies on the board again.
- Bodyboard and bodysurfing. The same wave model: a 1.05 m bodyboard is ridden prone from the catch; bodysurfing swims at 0.7 of a board's paddling speed and planes on the body, just under the surface. Lying in the white water, it carries a board shoreward at 0.6 of the wave's speed.
- Surf report. The wrist unit lists the six breaks nearest the player within 400 km: a curated list of 37 known breaks, each with its swell window (the directions a swell can reach it from) and the period it wants, and OpenStreetMap's
sport=surfingspots within 60 km (any window). At each, the forecast swell (Open-Meteo marine) is cut by how far it comes from outside the window (none 30° out) and sized by Komar and Gaughan's (1972) breaker height, Hb = 0.39 g1/5 (T H02)2/5 (a 1 m, 10 s swell breaks at about 1.55 m). A swell coming in at θ0 to the way a curated break faces breaks lower, by (cos θ0)2/5 (the same energy balance with the swell refracted to break nearly head-on, Komar 1998; θ0 held under 80°): 0.76 of its head-on height from 60° off. Faces are shown from 0.8 Hb (a typical wave) to 1.3 Hb (the sets). The forecast wind is offshore within 45° of blowing straight out to sea, onshore within 45° of straight in, light under 3 m/s. The rating (flat to great) goes by size, period and wind. It does not trace the swell over each break's own bed. Going to a break does: once the swell there is traced over the whole bed, the surfer is moved to 25 m outside the outermost line where the sets break (where their unbroken height reaches 0.9 of the breaking one), if not already 5–80 m outside it. The listed line-ups are hand-placed, and the break moves with the day's swell: at Cape Hatteras one small day, 445 m in.
Reefs, fishing and wrecks
- Reefs. Corals are placed from OSM reef polygons and OBIS species presence: 13 growth forms, among them brain, branching, elkhorn, plate, pillar and sea fan, standing on reef rock with rubble, turf and urchins on the bed. Bleaching follows NOAA Coral Reef Watch Degree Heating Weeks (5 km daily): significant from 4 °C-weeks, severe from 8, mortality from about 12. Fish school by boids, in clouds over the coral heads and as bait balls with hunting jacks in open water, and whales appear by season.
- Fishing. Species ranges are baked from OBIS and GBIF. Bites depend on species, depth, time of day, water temperature and lure, and the line breaks past its test strength.
- Wrecks. Charted wrecks come from NOAA ENC and OSM. The side-scan sonar waterfall shows acoustic shadows. The magnetometer anomaly falls off as 1/r³: about 10 nT for 1 t of iron at 10 m.
The deep sea and the Titanic
- Life by depth zone. Thirteen kinds of open-water animal live at their real depths, from moon jellies near the surface to sea pigs on the abyssal floor at up to 6,000 m. Lanternfish and hatchetfish make the daily vertical migration, rising from 300–1,000 m by day to 20–500 m at night. Comb jellies, siphonophores, anglerfish and others carry their own bioluminescence, which stays visible where no daylight reaches.
- Marine snow. Drifting particles (marine snow, plankton, silt) thicken or thin with the water's Kd490 and depth.
- The Titanic. The wreck lies on the bed 3,784 m down, with its separate stern section, boilers and debris field. A research vessel lowers a deep submersible on its A-frame; at 3,800 m the dive is lit only by the submersible's lamps, and what they reach follows the light-with-depth model of section 6.
- Eyes and cameras. Exposure under water meters the view and allows a dark-adapted eye at depth. A camera white balance can be chosen, applied to lit surfaces only, not to the water's own glow.
Wildlife and birds
- Land animals. About 55 species, each with its real range, habitat by land cover, and activity by hour and season. Densities match real home ranges (deer 1–2 km², cougar 100–300 km²), so a cougar is a rare sight, as it should be.
- Same animals for everyone. Animals are seeded by place and time window, so every player at a spot sees the same ones.
- Field kit. Trail cameras (IR at night), sensors, live traps and a field journal.
- Birds. Twenty species with flocking: V formations, raptors circling in thermals, a starling murmuration at dusk. Their calls are synthesized.
Wildfire model and fire training
The deepest scientific model in Explorer. A published, operational fire-behavior model runs on real fuel, terrain and weather. It is validated against 20 historical fires, and it is built for incident-command training.
Spread model
- Surface fire. Rothermel's 1972 surface fire spread model with Albini's 1976 changes. It covers the 13 original fuel models and the 40 Scott and Burgan (2005) models, numbered as LANDFIRE numbers them. The model is written in the published units (feet, pounds, minutes, Btu) and converts at its boundary.
- Fuel moisture. Dead fuel moisture comes from the equilibrium moisture content of wood (Simard 1968). Live-fuel moisture of extinction follows Albini, and wind reduction under canopy follows Albini and Baughman.
- Fire shape. Wind and slope combine as vectors. The fire grows as an ellipse with length-to-breadth ratio 1 + 0.25U (Anderson 1983).
- Crown fire. It starts at Van Wagner's (1977) threshold and spreads at Rothermel's 1991 crown rate.
- Grid. The model runs on a 30 m grid (30–240 m), with ember spotting downwind. Water wets cells, retardant holds them, and fire lines remove fuel.
- Determinism. Every random draw comes from a hash of the cell and a seed. A run therefore repeats step for step on any machine, and a server can run the fire for a whole training room.
- Real data per fire. Each historical case is built from NIFC/WFIGS records (origin point and time), LANDFIRE FBFM40 fuel, hourly ERA5 weather, NASA FIRMS detections, dated perimeters from GeoMAC and WFIGS, and USGS 3DEP elevation.
Validation against real fires
Twenty historical fires are run unfought and scored by "same ground": the area burned by both model and fire, divided by the area burned by either. Wind-driven fires score best. Fires that crews held, such as Frijoles, overburn in the model, as an unfought model should. Published cases also hold: Van Wagner's crown ignition reproduces 875 kW/m, and Rothermel 1991's Sundance and Black Tiger crown runs are checked.
| Fire | Same ground (median) | Fire | Same ground (median) |
|---|---|---|---|
| Camp | 52% | Glass | 37% |
| Woolsey | 52% | Slater | 28% |
| Bighorn | 52% | Holy | 17% |
| Marshall (corrected origin) | 41% | Frijoles | 14% |
| Zogg | 41% | Mullen | 2% |
| Cold Springs | 40% | Salt / Lava | 1% / 0% |
for the published Red Bench case, the model gives two thirds of the paper's rate, and the cause is not yet explained. Spotting matches typical published distances, but not the 1–3 km tail. ERA5's mean wind runs about a third of station readings in downslope wind events, so a gust factor is applied.
Operations and training
- Suppression. Air drops are water parcels with drag and wind drift, scored by the USFS coverage guide. Retardant stops holding past an 8 ft flame length (RMRS-GTR-253). Hand crews, dozers and engines build line at Broyles' 2011 production rates.
- Evacuation. A warning sends a fifth of residents; an order sends the rest on an e−t/45 min curve. Roads carry 1,000 cars per hour per lane, with queues.
- Structures and smoke. OSM buildings burn with their cells. The smoke column lifts at 5–20 m/s inside and sinks around itself.
- Incident command. ICS 201–205 and 214 forms, live US incidents, and radio nets on real frequencies.
- Recording and review. Sessions are recorded with what-if branching and side-by-side comparison of runs.
- Still open. Comparison against a reference operational model, sessions of 8–20 people, and review by subject-matter experts.
The solar system
Beyond the Moon and Mars, every planet, 20 major moons, 150,000 asteroids and 203 comets stand where they really are for the clock's instant. A player can travel to any of them.
Planets and their rotation
- Positions. JPL's Keplerian elements for approximate planet positions (Standish), from the 1800–2050 table. They are within 0.05° of JPL Horizons for 2000–2050 (0.2° for Jupiter and Saturn), and tests hold them to 0.1° against recorded Horizons vectors.
- Brightness. Apparent magnitudes follow Mallama and Hilton (2018), the method of the Astronomical Almanac, including Saturn's ring tilt.
- Rotation. Poles and prime meridians follow the IAU WGCCRE models. The giant planets turn at System III, and Jupiter's Great Red Spot drifts in System II longitude as observed.
- Light. Sunlight falls off as 1/r², and exposure adapts to it.
Moons
- Galilean moons. Lieske's E2x3 theory (Meeus ch. 44), refitted to JPL's modern ephemeris: within about 1,100 km for Europa (the worst) and under 800 km for the others, 1990–2060.
- Saturn's seven. Harper and Taylor's theory, including the Mimas–Tethys 71-year libration. Each is within about 1% of its orbit's radius.
- Other moons. Phobos, Deimos, Uranus' five and Charon use JPL mean elements about each Laplace plane, with precession. Phobos includes its tidal acceleration. Triton follows its retrograde IAU model.
- Surfaces. Phobos and Deimos are drawn from real shape models (Ernst et al. 2023). Fifteen moons carry USGS global maps built from Voyager, Galileo and Cassini imagery.
Asteroids and comets
- The JPL bake. NASA/JPL SBDB and close-approach data: the 150,000 brightest asteroids, 20 named ones, 203 comets, and 189 upcoming close approaches (for example Apophis on 13 April 2029). Deploy re-bakes it when it is over 30 days old.
- Propagation. Two-body Kepler propagation for elliptic, parabolic and hyperbolic orbits, tested on Ceres, Apophis, Halley and 2I/Borisov. The asteroid belt is propagated on the GPU, so the Kirkwood gaps, the Hildas and the Trojans appear as they really are.
- Named asteroids. Ellipsoids with published axes and spin periods.
- Comets. The coma and tails grow with nearness to the Sun, driven by SBDB activity magnitudes. The ion tail points straight away from the Sun, and the dust tail curves back along the orbit. Interstellar 1I, 2I and 3I/ATLAS follow their hyperbolic paths.
Rings
Rings for all four giants are drawn from their published radii and optical depths, with the Cassini Division and Encke gap. Shadows fall both ways, planet on rings and rings on planet, and Galilean shadow transits and moon eclipses are drawn. Up close, Saturn's rings become instanced ice chunks:
- each cell orbits at the Kepler speed for its radius, so the rings shear;
- chunk density follows the optical depth;
- sizes follow the n(a) ∝ a−3 power law, from 0.2 to 4 m.
Coordinate frames and travel
Explorer switches between three frames:
- Earth-fixed, within about 1.5 million km of Earth;
- a non-rotating frame between the worlds;
- a Mars-fixed frame on the IAU axes, with real sols and seasons.
Changing frame is a rigid move of the whole universe, done in double precision, with millimeter resolution even at Neptune. A trip arrives in a circular orbit at the real orbital speed for that height. Real transfer orbits are planned.
Eclipses
Eclipses are never staged: one happens because the Sun and Moon are where they really are at that instant. A single number, the share of the Sun's disc still uncovered as seen from each point, drives the light, the sky, the shadow on the ground and the animals.
Eclipse calculator
- Observer and coverage. The observer is placed on the WGS84 ellipsoid. Coverage is the analytic overlap of two discs, and the light left accounts for a limb-darkened Sun, I = 1 − 0.6(1 − μ).
- Moon radius. The Canon's k = 0.272281 for umbral phases, the mean radius for partial phases.
- Local circumstances. Contacts C1–C4 by root finding and maximum eclipse by golden-section search.
- Finder. Searches lunation by lunation from the Meeus new-moon epoch and gives the central path with its north and south limits. A hundred lunations take a fraction of a second, so eclipses are found for any year at run time rather than from a fixed catalog. For each one it picks a town in the path with long totality and the Sun high.
- The shadow's track. The umbra's ground speed and heading: about 2,400 km/h east-northeast over Texas in 2024. Flying with the shadow at speed u stretches totality by v/(v − u): 4 minutes become 6.4 at 900 km/h. The 1973 Concorde flight used the same effect.
- Lunar eclipses. Earth's shadow is enlarged by 1/85 for the atmosphere.
The calculator is tested against NASA's Five Millennium Canon of Solar Eclipses (Espenak and Meeus):
| Quantity | Tolerance held |
|---|---|
| Time of greatest eclipse | 45 s |
| Latitude / longitude of greatest eclipse | 0.35° |
| Gamma | 0.003 |
| Magnitude | 0.002 |
| Central duration | 3 s |
| Dallas, 8 April 2024: second and third contact | 20 s |
The cases are the 2012 and 2023 annular eclipses; the 2017, 2024, 12 August 2026 and 2 August 2027 total eclipses; and four lunar eclipses from 2022 to 2025. The full 2024–2027 list of solar eclipses matches the Canon exactly.
Seeing it
- Light. The sunlight left at each instant dims the key light. The disc is integrated in rings evenly spaced in μ, so the thin crescent's last 2% of light is not lost before totality.
- The shadow everywhere. The Moon's shadow is evaluated per pixel in the lighting, haze, cloud, sea and sky shaders, as a limb-darkened overlap. A point 400,000 km away is placed to about 30 m. From an airliner the umbra is a dark oval on the cloud deck; from the ground it comes over the hills as a wall of darkness.
- Totality. The sky keeps a floor of light scattered in from outside the shadow, so the whole horizon glows like a 360° sunset while the far haze goes dark. Stars and planets come out, and the corona and prominences fade in with the last of the disc, scaled by the 11-year solar cycle. Baily's beads and the diamond ring shine through valleys of a modeled lunar limb.
- Just before and after. Shadow bands ripple over light ground only during the last thin crescent. Under trees, gaps in the canopy (placed from the land cover) project pinhole crescents of the Sun.
- The world reacts. The air cools by up to 5 °C, minutes behind the light, and the wind drops; birds go to roost only near totality.
- Lunar eclipses. The Moon turns copper (Danjon scale about 2.5). From the Moon itself, the Earth covers the Sun ringed in the red of every sunset on Earth at once.
- Photography. The camera has a 10-stop solar filter for the partial phases, bracketing and an eclipse preset.
Next
Transits of Venus and Mercury, Phobos transits seen from Mars, ISS transits of the Sun and Moon, and lunar occultations of stars and planets. Baily's beads could be drawn from the real LOLA limb profile instead of a modeled one.
Moon and Mars from source data; rockets
Explorer hosts its own 3D Tiles for the Moon and Mars, baked from mission data.
The Moon
- Global base. The LOLA elevation model (118 m) under the LROC WAC 100 m mosaic, 87,381 tiles down to 83 m texels.
- Detail patches. LROC NAC terrain models (5 m) with 2 m imagery at the Apollo 11, 15 and 17 sites, LOLA 20 m at Shackleton crater, and Chang'e 4 at Von Kármán. They come to 2.6 m texels. The NAC heights agree with LOLA within 16 m.
- Fine detail. Procedural craters fill in at the equilibrium density, about 1/D².
Mars
- Global base. The blended HRSC–MOLA elevation model (200 m) under the Viking MDIM 2.1 color mosaic, on the 3,396.19 / 3,376.20 km ellipsoid.
- Detail patches. HiRISE terrain models (1 m) with 1 m imagery at Jezero and Gale, the Perseverance and Curiosity sites, down to 1.3 m texels. They agree with the global data within 11 m.
- Fine detail. Dust, ripples and rocks, split by the Viking color. Wider CTX terrain models are planned.
The Apollo 17 site in Taurus-Littrow, from LROC NAC data.
Earth above the lunar horizon.
Jezero crater's delta in HiRISE detail, under a butterscotch sky.
The walls of Valles Marineris.Rockets
The Space Shuttle, Saturn V and Falcon Heavy stage by height. For example, the Saturn V drops its S-IC at 67 km, the tower at 90 km and the S-II at 175 km. An autopilot flies them from real pads (LC-39A, SLC-40, Starbase, Baikonur, Kourou, Wenchang and others) to real landing sites on the Moon and Mars. Ascent today is flown by an autopilot; patched-conic transfers and gravity-driven trajectories are planned.
Rendering engineering
Drawing a whole planet in a browser, from a cockpit panel at arm's length out to orbit, takes careful numerics and a tight frame budget.
- Render graph. Rebuilt every frame, with unused passes culled and memory reused across pass lifetimes. The default frame has 53 passes and draws into a 6-target G-buffer.
- Precision. Positions are kept in double precision on the CPU and re-centered for the 32-bit GPU (a floating origin, re-anchored every 10 km, or 250 m in the cockpit). Depth is reversed-Z, with near and far planes fitted to altitude. Distant bodies are drawn analytically, each in its own axes and in units of its own radius, so 32-bit floats hold a planet across the solar system.
- Shadows. Four terms multiply together:
- a sun shadow clipmap of up to 8 levels at 2048² (4096² on Ultra), sized by altitude;
- screen-space contact shadows;
- terrain heightfield shadows past the clipmap, from a 73.7 km elevation map;
- cloud shadows from a Beer shadow map.
- Ambient occlusion and reflections. GTAO (Jimenez 2016) with multi-bounce. Image-based lighting uses split-sum with specular and horizon occlusion, and a stretched lobe gives the long reflections on wet runways.
- Temporal anti-aliasing and upscaling. 16-sample Halton jitter, variance-box history clipping in YCoCg, and upsampling.
- Exposure. Auto exposure from a 64-bin log histogram over −10 to +6 EV.
- Budget. The atmosphere's whole cost is 3.44 ms at 1280×720 on a desktop GPU. Clouds march one pixel in sixteen per frame, or every pixel on Ultra.
- Measured performance work. Road carving and pavement went from 8–11 ms to 3 ms per frame. On an Apple M1, tree shadows proved to be the largest cost of the High preset and were reworked.
Lower Manhattan in early-morning light, without live shadows.
The same view with the shadow clipmap: long shadows across the blocks and the river.Sound
Explorer synthesizes all of its sound; nothing is a recording.
- Piston engines. An AudioWorklet fires each cylinder on its schedule, through three exhaust resonances, plus the propeller's blade-pass tone and a cabin low-pass filter.
- Sound at a distance. Doppler shift with c = 343 m/s, and level falling with distance. Thunder arrives d/343 s after the flash.
- Trains. Steam exhaust beats are locked to the driving wheels and sharpen with longer cutoff. Rail-joint clicks are absent on welded high-speed track. Flange squeal and the high harmonics of electric traction motors are left out on purpose: a held high tone wears on the ear.
- Nature. Bird calls are synthesized per species and behavior. Sound under water is muffled.
- Surf. Where the swell is traced to the shore, each crest rolls in as it breaks on the water, from its way. It is as loud as the breakers are big and near (each piece of the surf zone within 900 m heard as H²/d²), a plunger's thump or a spiller's long wash.
- Submarines. The screw, the hiss of ballast air and the hull creaking past test depth are made as they play.
Multiplayer, determinism and cameras
- One server for every module. Multiplayer rooms, accounts with passkeys, saved worlds, photos, films, and the relays for ADS-B, METAR, AIS and rail. Storage is SQLite with migrations.
- Interest management. The relay runs at 30 Hz. Players within 60 km hear each other every tick and farther ones once a second, for up to 64 players per room.
- Cheat checks. Each mode has a speed cap (aircraft 1,100 m/s, cars 150 m/s and so on). A player is flagged only for sustained excess or repeated position jumps.
- Server-checked achievements. A player's logbook, career jobs, purchases, licenses and field-journal achievements are judged by the server, not the browser. Flights are checked as chains of 0.25° cells that must fit the leg's distance. A claim to have seen something in the sky (a total eclipse, Earthrise from the Moon) is re-checked on the server with the same ephemeris the app uses. Licenses are earned by checkrides: lessons flown, driven or sailed as tests.
- Shared world without bandwidth. Clouds, rain cells, wildlife, thermals and the wildfire are all seeded from place and UTC. Every player sees the same sky, storms and animals, and almost none of it crosses the network.
- Film-making. Recording uses a fixed time step and WebCodecs H.264 into the project's own MP4 writer. A recorded flight or camera path can be re-rendered as a new take, and an editing room offers J/L cuts and MP4+AAC export. In synchronized screenings, two browsers were measured 0.06 s apart.
Deliberate simplifications
A twin is only trustworthy if its gaps are known. These are stated in the project's own documentation as well.
- Sky. The sky dome uses single scattering (multiple scattering feeds the haze and clouds). The Sun's disk is drawn larger than its true 0.27°, and the Sun-to-Moon intensity ratio is compressed to 14:1 so night stays playable.
- Haze. Across the view, the haze's amount and color vary on the terrain and on the far clouds, but the sky behind them and the haze's profile and phase are the camera's. The terrain's own sunlight is dimmed by the camera's haze, not the field's. Without live station reports, one haze covers the whole view. The haze's multiple scattering is an approximation from the multi-scatter table with a tuned weight. The lighting pass's haze composite keeps the exponential profile for its small multi-scatter lift. The sea-or-land choice is the point under the camera, not a fraction of the area.
- Ozone. The column varies only with latitude and month: no longitude, weather or year-to-year change, and it is integrated from profiles rather than measured as a column. Its vertical shape is a fixed 10–40 km layer. The sky-color fit was made with grey haze.
- Lenticulars. Where the lee waves' crests stand is taken from linear theory with one stability and one wind for the whole air column. Real waves depend on how both change with height, and the air's moisture aloft (which decides whether a crest makes a cloud) is not known: the condensation level from the ground stands in.
- Mars sky. Its color is art-directed, not physically derived from dust scattering.
- Reported clouds. A report's cover is taken at face value per layer, though METAR cover is cumulative (an upper layer's own share can be less). Cloud depths are typical values by type, not measured. Above 12,000 ft an automatic station sees nothing, and only the forecast model fills that in. In multiplayer, a room that follows its host's sky gets the host's weather but not the host's reported layers, nor its weather map.
- The weather map. Stations are points, spread by distance alone (no fronts, no terrain), and the model's areas are 0.25° (about 28 km). The low cloud's type at the camera is the one drawn everywhere, turned only between cumuliform and stratiform by place; a station 80 km off that reports only cirrus shows as no low cloud there. Past the camera's water mask, the coast is known to 0.05° (about 5.5 km), so a narrow bay or a small island can take the wrong side's forecast. The map is fixed to the ground and does not drift with the wind between bakes.
- Rain. Drops fall at about three times their terminal speed so the streaks read as rain. Snow falls at its real speed of about 1.1 m/s.
- Small bodies. Asteroids and comets ignore planetary perturbations.
- Spaceflight. Rockets fly by autopilot, and the spaceship is not yet bound by orbital mechanics.
- Wildfire. The model does not yet reproduce long-range (1–3 km) spotting.
- Flight model. Some aircraft keep documented known misses in validation, for example the Caravan's clean stall at 67 kt against 75 kt.
- Science data. The wrist unit's Science page and the map's science layers show what the sources publish, labeled measured (an analysis of satellite and buoy observations, or an index computed from them) or modeled (a forecast model or a reanalysis). The sea's surface on the page is NOAA OISST's 0.25° daily analysis, from 1 September 1981; the preliminary days are replaced by the final ones about two weeks later. The map's layers are NASA GIBS's colored tiles of JPL's MUR analyses (sea temperature from June 2002, anomaly from July 2019, sea ice from September 2002) and of ocean color (MODIS Aqua from July 2002, PACE OCI from February 2024): pictures, not values, drawn for the sim day, or near today for the newest day published (36 hours back, further when missing). MUR's 1 km cells and OISST's 28 km ones differ near coasts and fronts. The El Niño state follows NOAA CPC's rule (five overlapping three-month seasons past ±0.5 °C); at the record's end a run too short to judge is called "conditions". The map's grid layers are values, not pictures, read through the science relay from ERDDAP servers: OISST (above), NOAA CoastWatch's blended surface currents (geostrophic from altimetry plus Ekman from the wind, daily from January 2015, modeled), WAVEWATCH III significant wave height and direction (hourly from 2017 to a week ahead, modeled) and GFS 10 m wind (three-hourly from December 2022, modeled), the last two served by PacIOOS. The world is one request at 2°; from zoom 6, 10° squares at 0.5°. They are drawn in the engine's color maps (thermal, balance, cividis, viridis, turbo) on a web-Mercator grid, nearest four cells blended, land left out. Tropical storms near now are NHC's active storms (track, forecast cone, watches and warnings), placed at the sim time along the best track and the forecast. On a past date from 1950 they are IBTrACS v04r01's best tracks, the six-hourly fixes, the wind being the US agencies' one-minute mean or else the WMO agency's ten-minute mean over 0.88; there are no cones or warnings then. The next advisory is shown as the next of 03, 09, 15 and 21 UTC after the last one (the intermediate advisories are not predicted).
- Real radar. Near now (within 40 minutes of RainViewer's newest frame), the radar's rain cells come from RainViewer's global composite at zoom 7 (about 1.2 km a pixel at the equator): each 4 by 4 pixel block whose strongest echo is 20 dBZ or more is a cell, its level 1 at 20 dBZ to 4 at 50 dBZ. The tiles come in one color scheme only, so each pixel is turned back into dBZ by RainViewer's published color table (exact match, or the nearest color). Where the coverage mask shows no radar (the oceans, much of Africa and Asia), or the clock is away from now, the weather's own synthetic cells stay. On a past date the map shows the Iowa Environmental Mesonet's archived US composite (NEXRAD N0R to 2010, N0Q after, every five minutes); the cells stay synthetic then.
- Aviation hazards. From aviationweather.gov through the science relay, read at most every ten minutes: international SIGMETs, US SIGMETs and AIRMETs, the G-AIRMET snapshot nearest now and the last two hours of PIREPs. In flight, with live weather near now, the turbulence and convection areas over the aircraft at its level add to the air's roughness (their severity word: light 0.25, moderate 0.5, severe 0.8, extreme 1; a SIGMET without one 0.75, an AIRMET 0.45), as do pilots' reports within 40 km and 3,000 ft, fading with distance; the sum is scaled by 0.9. There is no airframe icing model, so icing areas are shown and briefed but not felt. The GTG turbulence and CIP icing grids are not read.
- Weather alerts. The National Weather Service's active alerts for the player's point (api.weather.gov, US and territories), read every five minutes or after a 25 km move, with live weather near now; a new one of moderate severity or worse is announced once.
- Storm weather. With the weather drifting on its own (not live), or with a storm placed at sea, a tropical storm near the camera sets the type by distance from its center, against a rain shield of 150 km plus 2 km per knot of wind: inside 15 km of a hurricane's center, the clear eye (few clouds); to 18% of the shield (at least 40 km), thunderstorms; to half, heavy rain; to the shield's edge, light rain; to 1.6 times it, overcast. It is a rule of thumb: the radar's cells, the wind and the pressure follow the vortex (section 5), the cloud deck only the type. The clouds are not yet shaped to the storm: no eyewall cloud ring, no stadium eye and no cirrus shield. The 34-knot radii come from the best track only, not from today's advisories.
- Fishing. At sea the fishing's water temperature is NOAA OISST's for the sim day, on a 0.25° grid (about 28 km), so a bay or a harbor takes the nearest open-sea cell's. Lakes and rivers, under ice, and the sea before the server has answered still use an estimate from latitude and month.
- Swell near the shore. Linear ray theory, with diffraction as an energy spread along the crest. Currents bend the swell in one second trace over the first's currents, not iterated to agreement (the currents the bent waves would drive are not traced again). The bed's 25 m grid shows a rip channel only where it is a few cells wide. Only the nearest steep face sends the swell back, and the bed's 25 m grid cannot see a face steeper than one cell, so a sheer cliff in shallow water reflects less than it should. Where rays crowd at a caustic over deep water, the spread along the crest is held to what its substeps carry stably, so it spreads a little less there than the energy balance asks. Random-wave breaking is taken per swell component, not over the whole sea at once. Where rays cross, the focus is capped. A breaker is a shape on the surface, not a simulated flow. Near the camera the surface is drawn in 0.5 m cells (0.67 m on a phone) over a square 192 m across (128 m) ahead of it, but evenly, not packed at the crests, and only while the camera is within a third of that of the water; past it, and higher up, the rings' cells, meters across 100 m out, are too coarse for a lip. The swell fades out and back in over 3 s when it is traced again after the camera has moved about 900 m. A storm at sea is placed beside the camera and follows one recurving track, whatever the season or the steering winds of the day; it weakens over land but never strengthens over warm water, and it raises the sea, not the clouds, the rain or the wind the aircraft fly in.
- Nearshore depth. Outside the US surveys, the bed near the shore is a modeled profile. It has bars and reefs only where a place has them listed, and no channels. Survey depths are moved from the 1983–2001 tidal epoch's mean sea level to the present year's by a linear trend; the sea's year-to-year swings are not followed.
- Rotor downwash. The wash on the grass, and the spray and dust it raises, is a fitted profile, not a flow solution: it has no interaction between the wake and ground effect, no obstacles, no wind blowing it aside, and the blade passage (faster than a frame) is not shown. The surface thresholds are set by eye, and the dust is one tan whatever the ground's color.
- Navigation. No live traffic, and road speeds by class rather than posted limits. Turn restrictions through a way, and those for one kind of vehicle only, are left out; a restriction is placed by position and bearing, so where the tiles' roads are drawn far from OpenStreetMap's it may not be found. Streets crossing at less than 25° are not joined. Lanes, exit numbers and signs come only with the routing server's long routes.
- Eclipses. The corona is a believable look, not a solar-physics model, and Baily's beads come from a modeled limb rather than the measured one.
Data sources
| Domain | Sources |
|---|---|
| Terrain and maps | Google Photorealistic 3D Tiles and Cesium World Terrain (via Cesium ion); AWS Terrain Tiles (SRTM, GMTED2010, ETOPO1); Esri World Imagery; Aerometrex San Francisco and Denver; City of Melbourne mesh; OpenStreetMap via OpenFreeMap; Esri Sentinel-2 land cover; EGM96 geoid (NGA); GeoNames |
| Sea floor and oceans | GEBCO 2026 bathymetry; NOAA NCEI CUDEM and coastal DEMs (nearshore depth, US); OpenStreetMap surf spots (sport=surfing) and a curated list of 37 surf breaks with their swell windows; US Army Corps of Engineers Field Research Facility wave gauges, Duck, via the Coastal and Hydraulics Laboratory's THREDDS server (the swell's field check); World Ocean Atlas 2023 (temperature, salinity); NOAA OISST v2.1 daily sea surface temperature, anomaly and sea ice (NCEI, served by the NOAA CoastWatch West Coast ERDDAP, through the game server's science relay); NASA JPL GHRSST MUR sea temperature, anomaly and sea ice, and NASA PACE OCI and MODIS Aqua chlorophyll, as NASA GIBS map tiles; NOAA CPC Oceanic Niño Index and weekly Niño 3.4 (through the science relay); EGM96 geoid; NOAA CoastWatch VIIRS Kd490; NOAA CO-OPS tide harmonics, tidal datums and relative sea level trends; NOAA ENC Direct charts |
| Weather | aviationweather.gov METAR; Open-Meteo forecast, historical forecast and ERA5 archive (CC BY 4.0); NOAA/NWS National Hurricane Center active storms (track, cone, watches and warnings); IBTrACS v04r01 best tracks (NOAA NCEI; Knapp et al. 2010, doi:10.1175/2009BAMS2755.1), baked per year from 1950, with the US agencies' radius of maximum wind and 34-knot radii where given; RainViewer global radar composite (personal and educational use, credited as "Weather data by RainViewer"); Iowa Environmental Mesonet archived METARs and NEXRAD composites; NOAA/NWS Aviation Weather Center SIGMETs, AIRMETs, G-AIRMETs and PIREPs (through the science relay); NOAA/NWS weather alerts (api.weather.gov); NOAA CoastWatch blended surface currents; WAVEWATCH III and GFS through PacIOOS ERDDAP (through the science relay); Copernicus Atmosphere Monitoring Service aerosol optical depth and dust, via the Open-Meteo air-quality API (CC BY 4.0; neither the European Commission nor ECMWF is responsible for any use of the data); NASA MODIS MOD10A1 snow via GIBS; NOAA SWPC OVATION aurora and planetary Kp |
| Night and land | NASA Black Marble VIIRS night lights; Natural Earth 1:10m land polygons (public domain) |
| Aviation | OurAirports (airports, runways, navaids, frequencies); FAA CIFP (ARINC 424); WMM2025 (NOAA NCEI / BGS); adsb.fi and adsb.lol live ADS-B; FGAddon aircraft data tables (GPL) |
| Navigation | OpenStreetMap roads, paths and street names via OpenFreeMap vector tiles; OpenStreetMap turn restrictions via Overpass; Photon (komoot) and Nominatim address search; the OSRM public routing server (cars) and FOSSGIS's (bicycles, walkers); Esri World Street Map (the map's default) |
| Ships and rail | Fintraffic Digitraffic (AIS and trains); aisstream.io; Entur (Norway) |
| Fire | NIFC/WFIGS incidents and perimeters; GeoMAC perimeters; LANDFIRE FBFM40 fuels; NASA FIRMS VIIRS/MODIS detections; NOAA ISD stations; USGS 3DEP |
| Life | OBIS and GBIF species occurrence; NOAA Coral Reef Watch Degree Heating Weeks |
| Sky | Ozone absorption cross-sections, Bogumil et al. 2003, via the MPI-Mainz UV/VIS Spectral Atlas (CC BY 4.0); TSIS-1 hybrid solar reference spectrum (NASA LASP); NOAA Climate Data Record of zonal mean ozone (Bodeker Scientific; no restrictions on use); Yale Bright Star Catalog (BSC5); d3-celestial constellations (BSD-3); CelesTrak orbital elements |
| Solar system | JPL Keplerian elements; JPL SSD satellite mean elements; JPL SBDB and close-approach APIs; IAU WGCCRE rotation models; Hubble OPAL Jupiter map; USGS moon maps (NASA 3D Resources); Phobos and Deimos shapes (Ernst et al. 2023) |
| Moon | LRO LOLA (LDEM 118 m, 20 m polar); LROC WAC mosaic and NAC terrain models; Chang'e 4 site data |
| Mars | MGS MOLA + Mars Express HRSC blended model; Viking MDIM 2.1; MRO HiRISE terrain and imagery |
Models and references
| Area | Models and references |
|---|---|
| Astronomy | VSOP87 (Bretagnon and Francou); ELP-2000/82 via Meeus, Astronomical Algorithms; Espenak and Meeus ΔT and the Five Millennium Canon; Lieske E2x3; Harper and Taylor; Mallama and Hilton 2018; SGP4/SDP4 (Vallado et al. 2006) |
| Atmosphere and optics | Nishita 1993; Hillaire 2015, 2020; Bodhaine et al. 1999 Rayleigh optical depth; Bogumil et al. 2003 ozone cross-sections; Coddington et al. 2021 solar spectrum; Bodeker et al. 2013 ozone climatology; Wyman, Sloan and Shirley 2013 color-matching fit; Koschmieder 1924 visual range; Ångström 1929 exponent; Hänel 1976 hygroscopic growth; Magnus dew-point formula; Cornette–Shanks phase; Jendersie and d'Eon 2023; Wrenninge 2013; Airy rainbow theory; Bohren and Huffman 1983 Mie theory; Hansen and Travis 1974 droplet size distribution; CIE 1931 observer; Marshall–Palmer drop sizes; Beard and Chuang 1987 drop shapes; Henyey–Greenstein phase; Salomonson–Appel snow fraction; Espy lifting condensation level; Queney 1948 and Scorer 1949 lee waves |
| Rendering | Cook–Torrance/GGX; Heitz 2014; Fdez-Agüera 2019; Lagarde; Jimenez 2016 GTAO; Fernando 2005 PCSS; Salvi 2016 TAA; Hart 1996 sphere tracing |
| Rotorcraft | Momentum and blade-element theory; Ferguson 1994, Rotorwash Analysis Handbook (FAA DOT/FAA/RD-93/31), for the shape of the ground outwash |
| Ocean | Tessendorf FFT; JONSWAP; Donelan–Banner; Monahan–O'Muircheartaigh whitecaps; Kelvin wake; Austin and Petzold 1986 spectral attenuation; spherical and cylindrical spreading in sonar; Mackenzie 1981 sound speed; de Boyer Montégut mixed layer; Bruun 1954 and Dean 1977, 1987 equilibrium beach profile; Ferguson and Church 2004 settling velocity; wave refraction by rays (Snell's law; Munk and Arthur 1952); Eckart 1952 dispersion approximation; McCowan 1894 breaker index; Battjes and Janssen 1978 random-wave breaking; Battjes 1974 reflection coefficient; Jonsson 1966 wave friction factor; Gerstner trochoidal crests; Holland 1980 hurricane wind profile; Kaplan and DeMaria 1995 inland decay; Jelesnianski 1966 storm motion asymmetry; Atkinson and Holliday 1977 wind–pressure relation; Young 1988 equivalent fetch in a hurricane; Hasselmann et al. 1973 JONSWAP fetch growth; Mase 2001 energy balance with diffraction; Sommerfeld's diffraction behind a breakwater (in the tests); Battjes 1974 surf similarity breaker types; Stockdon et al. 2006 wave run-up; Komar 1998 oblique breaker height; Komar and Gaughan 1972 breaker height; Longuet-Higgins 1970 and Komar and Inman 1970 longshore current; Bowen, Inman and Simmons 1968 wave setup (rip currents); MacMahan, Reniers, Thornton and Stanton 2004 rip current pulsations; Bretherton and Garrett 1968 wave action on currents; the solitary wave (Boussinesq) |
| Wind | ISA; Stull 1988; Whiteman 2000; Liston and Elder 2006 (MicroMet); Dryden per MIL-F-8785C, MIL-HDBK-1797; Oseguera and Bowles, NASA TM-100632; Holland 1980 hurricane profile; Franklin, Black and Valde 2003 dropwindsonde profiles; Willoughby, Darling and Rahn 2006 radius of maximum wind |
| Flight | Helmbold; DATCOM; Raymer; McCormick; Korn; Prandtl–Glauert; Roskam; MIL-F-8785C; 14 CFR 23 and 25; Lanchester phugoid; Burnham–Hallock vortex |
| Navigation and ATC | ARINC 424; AIM 5-3-8; PANS-OPS; FAA JO 7110.65; ICAO Doc 4444 |
| Fire | Rothermel 1972, 1991; Albini 1976; Anderson 1983; Van Wagner 1977; Scott and Burgan 2005; Simard 1968; Broyles 2011; RMRS-GTR-253; Page et al. 2019 |
| Other | Bühlmann ZHL-16C; Davis train resistance; Jonker–Volgenant assignment; Turpin, Michael and Kumar 2014; boids |
Taos Explorer runs on the Taos Engine (WebGPU, TypeScript). Third-party assets are used under their own licenses, recorded per asset. All figures on this page are taken from the project's code, tests and documentation as of 2 December 2026.