Taos API Reference
    Preparing search index...

    Function defaultOceanWaves

    • Dense ocean spectrum à la Crest's ShapeGerstnerBatched — instead of one sinusoid per octave, generate componentsPerOctave (~8) components per octave with stratified-random wavelengths, Pierson–Moskowitz amplitudes, directions spread around the wind, and random phases. The many components interfere into irregular, detailed chop rather than smooth rolling swell. Components are summed across the LOD cascade (each routed to its band).

      Parameters

      • opts: OceanSpectrumOptions = {}

      Returns OceanWaveSpec[]