Live WebGL ocean wave simulation driven by SmartAtlantic ERDDAP buoy data (St. John's).
Canonical: art.adamsimms.xyz/waves/
GPU FFT ocean simulation fed by live wind, wave height, and wave period. The station panel and simulator refresh about every 10 seconds. Live data comes from the art Pages Function at /waves/call-api (health: /waves/health).
assets/css/, assets/js/, assets/images/ # front-end
lib/ # ERDDAP mapping helpers (build/test)
scripts/ # static export for art assemble
tests/
| Output | ERDDAP field |
|---|---|
| Wind (m/s) | wind_spd_avg |
| Wind vector | wind_dir_avg → wind_x / wind_y |
| Wave period (s) | wave_period_max |
| Wave height (m) | wave_ht_max |
Serve assets/ + exported static page, or prefer verifying on art after assemble. WebGL float textures required.
composer install && composer exec phpunit # unit tests for ERDDAP helpersStatic HTML for Pages:
# used by art assemble; see art PHASE4-SIBLINGSProduction is art.adamsimms.xyz (assembled into /waves/ + Functions). Uptime checks hit art.
MIT — see LICENSE. Changes: CHANGELOG.md.