threejs-worldgen
    Preparing search index...

    Interface StormSettings

    Convective storm cells: thunderstorms with heavy showers, outflow gusts and lightning.

    interface StormSettings {
        chance: number;
        enabled: boolean;
        lifetime: number;
        lightning: number;
        minTemperature: number;
        radius: number;
        rain: number;
        spacing: number;
        wind: number;
    }
    Index
    chance: number

    0…1: chance that a cell hosts a storm in each lifetime, before the climate factor.

    enabled: boolean

    Turn storms on or off.

    lifetime: number

    Life of one storm from first cloud to last rain, seconds.

    lightning: number

    Lightning strikes per minute from a mature storm of full strength.

    minTemperature: number

    Storms need at least this temperature (°C); full strength 12 °C above it.

    radius: number

    Mean storm radius, metres.

    rain: number

    Extra rain at a mature storm's core, mm/h.

    spacing: number

    Distance between potential storm cells, metres. Storm radius is capped at a quarter of this.

    wind: number

    Outflow gust at a mature storm's core, m/s.