feat: increase tilt range for improved visibility on mobile devices

This commit is contained in:
sha
2025-12-28 04:38:58 +02:00
parent 30c2411daf
commit de311b3afe
+3 -3
View File
@@ -145,9 +145,9 @@
const SWITCH_TIMEOUT = 1000; // ms - time before switching modes const SWITCH_TIMEOUT = 1000; // ms - time before switching modes
const IDLE_TIMEOUT = 2000; // ms - time with no movement before returning to tilt animation const IDLE_TIMEOUT = 2000; // ms - time with no movement before returning to tilt animation
// Tilt ranges // Tilt ranges - increased for better visibility on mobile
const MAX_TILT_X = 20; // degrees const MAX_TILT_X = 35; // degrees (increased from 20)
const MAX_TILT_Y = 20; // degrees const MAX_TILT_Y = 35; // degrees (increased from 20)
function setInteractiveMode(active) { function setInteractiveMode(active) {
if (mixedMode) { if (mixedMode) {