# Go Around 3D terrain demo — Table Mountain / FACT

Self-contained interactive 3D elevation of the Cape Town region
(Table Mountain, Cape Peninsula, Table Bay, FACT). Navy-and-gold,
minimal UI. Live weather can be overlaid; extra ideas are toggleable.

Start the local server from this folder (static files + a tiny NOAA AWC proxy):

    python3 server.py

Then visit http://127.0.0.1:8765/?view=table_mountain

Views: `table_mountain`, `peninsula`, `table_bay`, `fact`.
Add `&shot=1` to hide the on-screen hint.

## Live weather (default)

With no `fx` query, the demo loads **weather + wind**:

- Current wind, temperature, visibility and cloud cover from
  [Open-Meteo](https://open-meteo.com) (free, no key, CC BY 4.0) for FACT
  (`-33.97, 18.60`).
- Live FACT METAR (and TAF) from the NOAA Aviation Weather Center API,
  fetched through the local `/api/metar` and `/api/taf` proxy because the
  AWC API does not send CORS headers.
- Gold wind streaks over the terrain, aligned to the live wind.
- A small glass card: wind kt + direction arrow, temp, visibility,
  clouds, raw METAR, `Updated HH:MM SAST`, and
  `Weather: Open-Meteo / NOAA AWC`.
- Refreshes every 10 minutes. If the network is down, the terrain still
  loads and the card says weather is unavailable.

No paid keys. No Windy or SAWS data.

## Ideas (`?fx=`)

Each idea is toggleable. Combine with commas, or use `fx=all`.

| `fx=`       | What you get |
|-------------|--------------|
| `weather`   | Live glass weather card |
| `wind`      | Animated gold wind streaks |
| `clouds`    | Soft cloud layer at METAR/TAF cloud base |
| `sky`       | Live sun / day-night sky and stars |
| `scrubber`  | 24-hour Open-Meteo forecast scrubber |
| `runway`    | Gold FACT runway 01/19 and 16/34 |
| `badge`     | VFR / MVFR / IFR / LIFR flight-category badge |
| `orbit`     | Cinematic auto-orbit intro around Table Mountain |
| `sea`       | Animated navy/gold sea |
| `trees`     | Sparse trees on the lower slopes |
| `all`       | Every idea at once |

Examples:

    http://127.0.0.1:8765/?view=table_mountain&fx=clouds,runway
    http://127.0.0.1:8765/?view=fact&fx=runway
    http://127.0.0.1:8765/?fx=all

## Data

- Elevation: Copernicus DEM GLO-30 (1-arc-second DSM), tiles
  `S34 E018` and `S35 E018`.
- Licence: Copernicus Licence (free use with attribution).
  © DLR e.V. and Airbus Defence and Space, provided by ESA / Copernicus Programme.
- Weather: Open-Meteo forecast API (CC BY 4.0) and NOAA AWC METAR/TAF
  (US public domain).
- Runway coordinates: OurAirports (public domain).
- Renderer: three.js r170 (MIT licence), vendored in `vendor/three/`.

No Mapbox, Google, Windy, or other paid keys.
