From 91c2069bad16aa852e73411c69873541b21a7f02 Mon Sep 17 00:00:00 2001 From: Mottributo <87079566+Mottributo@users.noreply.github.com> Date: Thu, 23 Mar 2023 16:47:17 +0300 Subject: [PATCH] increased mountains parallax intensity --- sketch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sketch.js b/sketch.js index 5db0577..ed2d719 100644 --- a/sketch.js +++ b/sketch.js @@ -616,7 +616,7 @@ function drawMountains() { for (i = 0; i < mountains.length; i++) { push(); // slowing down translation to add parallax, the feeling of depth - translate(cameraPosX / 8, 0); + translate(cameraPosX / 2.2, 0); noStroke(); fill(palette.mountain_shadow); triangle(