diff --git a/assets/index.html b/assets/index.html index 103e4cb..82125a8 100644 --- a/assets/index.html +++ b/assets/index.html @@ -42,7 +42,7 @@ function getHeight(x, y) { var n = perlin2D(x * 0.02, y * 0.02, 4); - return Math.round(n * 5); + return 10 + Math.round(n * 5); } function fade(t) { @@ -91,7 +91,7 @@ } function isWater(h) { - return h <= -2; + return h <= 8; } var tiles = [];