threejs-worldgen
    Preparing search index...

    Interface ContinentOptions

    Continents: where land and ocean are, and the base height of each.

    interface ContinentOptions {
        curve: [number, number][];
        landBias: number;
        octaves: number;
        scale: number;
        warp: number;
    }
    Index
    curve: [number, number][]

    [continentalness, height] points (continentalness in −1…1, height in metres).

    landBias: number

    Shifts land vs ocean: positive = more land. Roughly −0.5 … 0.5.

    octaves: number

    Octaves of the continent noise.

    scale: number

    Typical continent size, metres.

    warp: number

    Domain-warp strength as a fraction of scale (coastline wiggle).