From 10b54a71b19d8bdafd54c980248549eff7d53cb8 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 29 May 2022 23:16:08 +0300 Subject: [PATCH] heightmap-generation: redefine cells effect, more land on higher values --- modules/heightmap-generator.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/heightmap-generator.js b/modules/heightmap-generator.js index feae9c1e..66696953 100644 --- a/modules/heightmap-generator.js +++ b/modules/heightmap-generator.js @@ -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