From de311b3afe3b4822e747d010873c91657ec1b81c Mon Sep 17 00:00:00 2001 From: sHa Date: Sun, 28 Dec 2025 04:38:58 +0200 Subject: [PATCH] feat: increase tilt range for improved visibility on mobile devices --- js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/app.js b/js/app.js index b6cc315..a251164 100644 --- a/js/app.js +++ b/js/app.js @@ -145,9 +145,9 @@ const SWITCH_TIMEOUT = 1000; // ms - time before switching modes const IDLE_TIMEOUT = 2000; // ms - time with no movement before returning to tilt animation - // Tilt ranges - const MAX_TILT_X = 20; // degrees - const MAX_TILT_Y = 20; // degrees + // Tilt ranges - increased for better visibility on mobile + const MAX_TILT_X = 35; // degrees (increased from 20) + const MAX_TILT_Y = 35; // degrees (increased from 20) function setInteractiveMode(active) { if (mixedMode) {