From 505fe4f6e8fa0967e5c8e2216e19aa221b6aa47c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 17 Sep 2025 13:59:01 +0000 Subject: [PATCH] Revert to version 44b0413 --- assets/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/main.js b/assets/js/main.js index c9ab655..e5eb124 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -293,7 +293,7 @@ pauseButton.addEventListener('click', () => { pauseButton.textContent = isPaused ? 'Play' : 'Pause'; }); -const speeds = [1, 6000, 30000, 60000, 600000]; +const speeds = [1, 100, 500, 1000, 10000]; let currentSpeedIndex = 0; let timeScale = speeds[currentSpeedIndex]; // Start with 1x speed @@ -308,7 +308,7 @@ speedToggleButton.addEventListener('click', () => { const clock = new THREE.Clock(); const timeContainer = document.getElementById('time-container'); let simulationTime = new Date(); -const TIME_SPEED_FACTOR = 1; // 1 real second = 1 simulation second at 1x +const TIME_SPEED_FACTOR = 60; // 1 real second = 1 simulation minute at 1x const MS_IN_A_DAY = 24 * 60 * 60 * 1000; const MOON_ORBIT_DAYS = 27.3;