1
0
mirror of https://gitlab.com/gaelysam/mapgen_rivers.git synced 2025-05-08 12:00:34 +02:00

Adjust number of octaves in function of map size

This commit is contained in:
Gael-de-Sailly 2020-04-12 17:26:37 +02:00
parent 538bfb6d6d
commit ed34dec4fa

@ -22,7 +22,7 @@ n = np.zeros((mapsize, mapsize))
#micronoise_depth = 0.05
params = {
"octaves" : 8,
"octaves" : int(np.log2(mapsize)),
"persistence" : 0.5,
"lacunarity" : 2.,
}