Revert to version 44b0413

This commit is contained in:
Flatlogic Bot 2025-09-17 13:59:01 +00:00
parent 15f79871d4
commit 505fe4f6e8

View File

@ -293,7 +293,7 @@ pauseButton.addEventListener('click', () => {
pauseButton.textContent = isPaused ? 'Play' : 'Pause'; pauseButton.textContent = isPaused ? 'Play' : 'Pause';
}); });
const speeds = [1, 6000, 30000, 60000, 600000]; const speeds = [1, 100, 500, 1000, 10000];
let currentSpeedIndex = 0; let currentSpeedIndex = 0;
let timeScale = speeds[currentSpeedIndex]; // Start with 1x speed let timeScale = speeds[currentSpeedIndex]; // Start with 1x speed
@ -308,7 +308,7 @@ speedToggleButton.addEventListener('click', () => {
const clock = new THREE.Clock(); const clock = new THREE.Clock();
const timeContainer = document.getElementById('time-container'); const timeContainer = document.getElementById('time-container');
let simulationTime = new Date(); 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 MS_IN_A_DAY = 24 * 60 * 60 * 1000;
const MOON_ORBIT_DAYS = 27.3; const MOON_ORBIT_DAYS = 27.3;