threejs-worldgen
    Preparing search index...

    Interface WindSettings

    Prevailing wind, its slow swings and its gusts.

    interface WindSettings {
        direction: [number, number] | null;
        gustiness: number;
        gustPeriod: number;
        gustScale: number;
        speed: number;
        variability: number;
        veer: number;
        veerPeriod: number;
    }
    Index
    direction: [number, number] | null

    Direction the prevailing wind blows towards, [x, z]; null uses the world's climate.windDirection (east on planets).

    gustiness: number

    0…1: gust strength as a share of the local wind speed.

    gustPeriod: number

    Typical duration of a gust, seconds.

    gustScale: number

    Typical size of a gust, metres.

    speed: number

    Mean wind speed, m/s (Beaufort 4 ≈ 6 m/s).

    variability: number

    0…1: how much the speed varies across space and time.

    veer: number

    Largest slow swing of the direction, radians.

    veerPeriod: number

    Typical time for the direction to swing, seconds.