mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
heightmap-generation: redefine cells effect, more land on higher values
This commit is contained in:
parent
662163176b
commit
10b54a71b1
1 changed files with 15 additions and 15 deletions
|
|
@ -91,33 +91,33 @@ window.HeightmapGenerator = (function () {
|
|||
const blobPowerMap = {
|
||||
1000: 0.93,
|
||||
2000: 0.95,
|
||||
5000: 0.96,
|
||||
5000: 0.97,
|
||||
10000: 0.98,
|
||||
20000: 0.985,
|
||||
30000: 0.987,
|
||||
40000: 0.9892,
|
||||
50000: 0.9911,
|
||||
60000: 0.9921,
|
||||
70000: 0.9934,
|
||||
80000: 0.9942,
|
||||
90000: 0.9946,
|
||||
100000: 0.995
|
||||
20000: 0.99,
|
||||
30000: 0.991,
|
||||
40000: 0.993,
|
||||
50000: 0.994,
|
||||
60000: 0.995,
|
||||
70000: 0.9955,
|
||||
80000: 0.996,
|
||||
90000: 0.9964,
|
||||
100000: 0.9973
|
||||
};
|
||||
return blobPowerMap[cells] || 0.98;
|
||||
}
|
||||
|
||||
function getLinePower() {
|
||||
const linePowerMap = {
|
||||
1000: 0.74,
|
||||
2000: 0.75,
|
||||
5000: 0.78,
|
||||
1000: 0.75,
|
||||
2000: 0.77,
|
||||
5000: 0.79,
|
||||
10000: 0.81,
|
||||
20000: 0.82,
|
||||
30000: 0.83,
|
||||
40000: 0.84,
|
||||
50000: 0.855,
|
||||
50000: 0.86,
|
||||
60000: 0.87,
|
||||
70000: 0.885,
|
||||
70000: 0.88,
|
||||
80000: 0.91,
|
||||
90000: 0.92,
|
||||
100000: 0.93
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue