mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2025-06-28 06:30:35 +02:00
Adjust number of octaves in function of map size
This commit is contained in:
@ -22,7 +22,7 @@ n = np.zeros((mapsize, mapsize))
|
|||||||
#micronoise_depth = 0.05
|
#micronoise_depth = 0.05
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"octaves" : 8,
|
"octaves" : int(np.log2(mapsize)),
|
||||||
"persistence" : 0.5,
|
"persistence" : 0.5,
|
||||||
"lacunarity" : 2.,
|
"lacunarity" : 2.,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user