getPerlinNoise

fun getPerlinNoise(tile: TileInfo, seed: Double, nOctaves: Int = 6, persistence: Double = 0.5, lacunarity: Double = 2.0, scale: Double = 10.0): Double

Generates a perlin noise channel combining multiple octaves

nOctaves is the number of octaves persistence is the scaling factor of octave amplitudes lacunarity is the scaling factor of octave frequencies scale is the distance the noise is observed from

Sources

jvm source
Link copied to clipboard