threejs-worldgen
    Preparing search index...

    Interface WorldOptions

    Every world setting. All plain data: save it, share it, send it to a worker, bind it to a GUI.

    interface WorldOptions {
        biomes: BiomeDef[];
        climate: ClimateOptions;
        continents: ContinentOptions;
        detail: DetailOptions;
        erosion: { octaves: number; scale: number };
        ground: GroundOptions;
        hills: HillOptions;
        micro: DetailOptions;
        modifiers: HeightModifier[];
        mountains: MountainOptions;
        origin: [number, number];
        radius: number;
        rivers: RiverOptions;
        rules: BiomeRuleOptions;
        seaLevel: number;
        seed: string | number;
        surface: SurfaceKind;
        volcanoes: VolcanoOptions;
    }
    Index
    biomes: BiomeDef[]

    The biome table. Defaults to the 20 built-in BIOMES.

    Climate.

    continents: ContinentOptions

    Continents.

    Ground detail (metres down to decimetres).

    erosion: { octaves: number; scale: number }

    Erosion field: flat plains vs rugged land.

    Ground materials.

    Hills.

    Micro relief (decimetres down to millimetres; what an ant walks over).

    modifiers: HeightModifier[]

    Height edits applied last (cities flatten their roads and lots here).

    mountains: MountainOptions

    Mountains.

    origin: [number, number]

    Planets: [latitude, longitude] in degrees where World.height (local x/z) is centred.

    radius: number

    Planet radius, metres (planets only).

    rivers: RiverOptions

    Rivers.

    Override-biome rules.

    seaLevel: number

    Sea level, metres.

    seed: string | number

    Seed: the same seed and options always give the same world.

    surface: SurfaceKind

    Flat world or planet.

    volcanoes: VolcanoOptions

    Volcanoes.