eulerjs API / @eulerjs/marine / SeaState
SeaState
Defined in: packages/marine/src/waves/spectrum.ts:8
The JONSWAP spectrum of a wind sea, after Horvath's "Empirical directional wave spectra for computer graphics" (2015): how much of the sea's energy there is at each frequency, from the wind's speed and how far it has blown over open water, and how that energy spreads about the wind's direction (Mitsuyasu's cos²ˢ(θ/2), narrower near the peak). Deep water throughout.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
fetch | number | How far the wind has blown over open water, in metres. | packages/marine/src/waves/spectrum.ts:12 |
gravity | number | - | packages/marine/src/waves/spectrum.ts:15 |
peakEnhancement | number | The peak enhancement γ: 3.3 for a young sea, 1 for the Pierson–Moskowitz spectrum of a fully grown one. | packages/marine/src/waves/spectrum.ts:14 |
windSpeed | number | Wind speed ten metres up, in m/s. | packages/marine/src/waves/spectrum.ts:10 |
