From 415f188ab5c6318eeaaa1c30d9c90ef3bddbd6ff Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Tue, 6 Oct 2026 16:49:50 +0200 Subject: [PATCH] Reduce wave amplitude --- assets/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/index.html b/assets/index.html index abb2b06..6e5e49a 100644 --- a/assets/index.html +++ b/assets/index.html @@ -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; }