threejs-worldgen
    Preparing search index...

    Interface HydrologyResult

    Everything analyzeHydrology finds.

    interface HydrologyResult {
        accumulation: Float64Array;
        filled: Float64Array;
        grid: HydrologyGrid;
        lakeIndex: Int32Array;
        lakes: Lake[];
        options: HydrologyOptions;
        receivers: Int32Array;
        rivers: RiverPath[];
    }
    Index
    accumulation: Float64Array

    Upstream area of each cell including itself, m².

    filled: Float64Array

    Heights with depressions filled (+ε gradients), metres.

    The analysed grid.

    lakeIndex: Int32Array

    Lake index of each cell, or −1.

    lakes: Lake[]

    Lakes.

    Settings used.

    receivers: Int32Array

    Index of the cell each cell drains to, or −1 for outlets (sea, map edge sinks).

    rivers: RiverPath[]

    Rivers.