Reduce wave amplitude

This commit is contained in:
Richard Zink committed 2026-10-06 16:49:50 +02:00
1 parent 96dedf252d
commit 415f188ab5
1 file changed
+4 -4
+4 -4
View File
@@ -45,10 +45,10 @@
function getHeight(x, y) {
var h = 0;
h += Math.sin(x * 0.05) * 8;
h += Math.cos(y * 0.05) * 8;
h += Math.sin(x * 0.1 + y * 0.05) * 4;
h += Math.cos(y * 0.1 - x * 0.05) * 3;
h += Math.sin(x * 0.02) * 4;
h += Math.cos(y * 0.02) * 4;
h += Math.sin(x * 0.04 + y * 0.02) * 2;
h += Math.cos(y * 0.04 - x * 0.02) * 1.5;
return h;
}