Skip to content

noise

A stack of fractal noise layers added to the terrain, for hills, ridges and rolling relief.

stack[]: Noise layers, 1 to 8, combined in order: the first enabled layer sets the height and each later one is combined with it by its blend mode.
Key Type Default Range Unit Description
enabled boolean true Includes this layer in the stack; disabled layers are skipped.
basis one of perlin, simplex, value, worley_f1, worley_f2, worley_f2_minus_f1, voronoi "perlin" Single-octave noise the fractal is built from.
fractal one of fbm, ridged, billow, hybrid_multifractal "fbm" How the octaves of the basis noise are combined.
blend one of add, max, min, mask "add" How this layer combines with the height of the layers before it; the first enabled layer sets the height instead.
seed integer 0 Seed of the noise; changing it gives a different pattern of the same character.
wavelength number 1000.0 (0, inf) m Wavelength of the first, broadest octave, in metres; sets the size of the largest features.
amplitude number 100.0 m Largest height of the layer above or below 0, in metres.
octaves integer 8 [1, 32] Number of octaves, at least 1; each one adds detail at a shorter wavelength.
lacunarity number 2.0 (1, inf) Frequency ratio between successive octaves; greater than 1.
gain number 0.5 (0, inf) Weight ratio between successive octaves, greater than 0; higher values give rougher terrain. Unused when the Hurst exponent is set.
hurst number, optional null Hurst exponent that sets the octave gain to lacunarity^-hurst: near 1 is smooth, lower is rougher at short baselines. Unset uses the gain.
offset number 1.0 (0, inf) Ridge offset of the ridged and hybrid multifractal types; greater than 0.
warp_amplitude number 0.0 [0, inf) m Domain warp displacement in metres, which bends the noise into swirled shapes; 0 disables warping.
warp_wavelength number 500.0 (0, inf) m Wavelength of the warp field, in metres.
Every key with its default
{
    "type": "noise",
    "stack": [
        {
            "enabled": true,
            "basis": "perlin",
            "fractal": "fbm",
            "blend": "add",
            "seed": 0,
            "wavelength": 1000.0,
            "amplitude": 100.0,
            "octaves": 8,
            "lacunarity": 2.0,
            "gain": 0.5,
            "hurst": null,
            "offset": 1.0,
            "warp_amplitude": 0.0,
            "warp_wavelength": 500.0
        }
    ]
}

Used in: example_ages_fresh, example_ages_steady_state, example_ages_uniform, example_albedo_blast_zone, example_albedo_crater_rays, example_albedo_fresh_crater, example_albedo_moon_site, example_albedo_new_crater and 64 more