Skip to content

adamsimms/waves

Repository files navigation

Waves

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).

Structure

assets/css/, assets/js/, assets/images/   # front-end
lib/                                      # ERDDAP mapping helpers (build/test)
scripts/                                  # static export for art assemble
tests/

Data

Output ERDDAP field
Wind (m/s) wind_spd_avg
Wind vector wind_dir_avgwind_x / wind_y
Wave period (s) wave_period_max
Wave height (m) wave_ht_max

Development

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 helpers

Static HTML for Pages:

# used by art assemble; see art PHASE4-SIBLINGS

Ship

Production is art.adamsimms.xyz (assembled into /waves/ + Functions). Uptime checks hit art.

MIT — see LICENSE. Changes: CHANGELOG.md.

About

ERDDAP-driven WebGL ocean wave simulation — live buoy data from St. John's, Newfoundland.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors