From 515cc107abcc561e3e2a705e3d3b3e9c7cc9106b Mon Sep 17 00:00:00 2001 From: 8BitBiscotti Date: Thu, 12 Dec 2024 14:58:44 +0100 Subject: [PATCH] adjusted frame count to not have a visible despawn --- synthwaveEffect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthwaveEffect.js b/synthwaveEffect.js index aa8d537..82cc3aa 100644 --- a/synthwaveEffect.js +++ b/synthwaveEffect.js @@ -231,7 +231,7 @@ function animateSynthWave() { ctx.clearRect(0, 0, canvas.width, canvas.height) if (iters >= iterToNewHill) { - let hillInstance = new Hill(canvas.width / 2, canvas.height / 3 * 2, [0, 180, 240], canvas.width, 325) + let hillInstance = new Hill(canvas.width / 2, canvas.height / 3 * 2, [0, 180, 240], canvas.width, 350) hillInstance.generate(25, canvas.height / 24, 100, 15) hills.unshift(hillInstance) iters = 0