Skip to content

Fast Noise Configs

Apollo edited this page Apr 22, 2026 · 4 revisions

Lithostitched introduces a fast_noise density function type to sample FastNoiseLite (FNL) objects. Fast noise configs determine the configuration of these FNL objects, similar to how vanilla noises need noise configs defined in worldgen/noise.

Fast noise configs are stored in the lithostitched/fast_noise_config folder of the data/(namespace) folder. This means that a fast noise config with the identifier foo:bar is stored in data/foo/lithostitched/fast_noise_config/bar.json.

Here's an example fast noise config:

{
  "type": "lithostitched:cellular",
  "frequency": 0.002,
  "salt": 304658814,
  "distance_function": "euclidean",
  "return_type": "cell_value",
  "jitter": 1
}

All fast noise configs have a type field, a float frequency, and an optional int salt.

  • cellular
    • jitter: How much to jitter the cells. A float between -1 and 1.
    • distance_function: The distance function to use. Accepted values: euclidean, euclidean_squared, manhattan, hybrid
    • return_type: The value to return. Accepted values: cell_value, distance, distance_2, distance_2_add, distance_2_sub, distance_2_mul, distance_2_div
  • perlin
    • Not sure why you would use this, but it's here lmao
  • simplex
    • fractal_type: The fractal type to use. Accepted values: none, fbm, ridged, ping_pong, domain_warp_progressive, domain_warp_independent
    • octaves: Optional non-negative int.
    • lacunarity: Optional float.
    • gain: Optional float.

Clone this wiki locally