diff --git a/assets/js/main.js b/assets/js/main.js index e5eb124..c9ab655 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, 100, 500, 1000, 10000]; +const speeds = [1, 6000, 30000, 60000, 600000]; 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 = 60; // 1 real second = 1 simulation minute at 1x +const TIME_SPEED_FACTOR = 1; // 1 real second = 1 simulation second at 1x const MS_IN_A_DAY = 24 * 60 * 60 * 1000; const MOON_ORBIT_DAYS = 27.3;