កិច្ចការ៖
បង្កើតគំរូប្រព័ន្ធព្រះអាទិត្យ។
គំរូប្រព័ន្ធព្រះអាទិត្យអន្តរកម្ម
ខ្ញុំបានបង្កើតគំរូប្រព័ន្ធព្រះអាទិត្យអន្តរកម្មសម្រាប់អ្នក! នៅទីនេះអ្នកអាចសង្កេតមើលចលនារបស់ភពនានា សិក្សាពីលក្ខណៈរបស់វា និងគ្រប់គ្រងចលនាជីវចលបាន។
ចុចលើភពណាមួយ ឬព្រះអាទិត្យ ដើម្បីស្វែងយល់បន្ថែមអំពីពួកវា!
🌟 ការពិតគួរឱ្យចាប់អារម្មណ៍អំពីប្រព័ន្ធព្រះអាទិត្យ
🔥 ព្រះអាទិត្យ
មានផ្ទុក 99.86% នៃម៉ាសសរុបរបស់ប្រព័ន្ធព្រះអាទិត្យ។ សីតុណ្ហភាពនៅស្នូលឡើងដល់ 15 លានដឺក្រេ!
🌍 ភពថ្ម
ភពពុធ ភពសុក្រ ភពផែនដី និងភពអង្គារ ផ្សំឡើងជាចម្បងពីថ្ម និងលោហៈ។
🪐 ភពឧស្ម័នយក្ស
ភពព្រហស្បតិ៍ ភពសៅរ៍ ភពអ៊ុយរ៉ានុស និងភពណិបទូន ផ្សំឡើងជាចម្បងពីឧស្ម័ន និងទឹកកក។
⭐ ខ្សែក្រវាត់អាចម៍ផ្កាយ
នៅចន្លោះភពអង្គារ និងភពព្រហស្បតិ៍ មានខ្សែក្រវាត់នៃបំណែកថ្មរាប់ពាន់។

{
orbit.style.animationPlayState = 'paused';
});
btn.textContent = "\u25b6\ufe0f \u1785\u17b6\u1780\u17cb";
btn.classList.add('paused');
} else {
solarSystem.style.animationPlayState = 'running';
solarSystem.querySelectorAll('.orbit').forEach(orbit => {
orbit.style.animationPlayState = 'running';
});
btn.textContent = "\u23f8\ufe0f \u1795\u17d2\u17a2\u17b6\u1780";
btn.classList.remove('paused');
}
isPlaying = !isPlaying;
};
window.toggleOrbits = function() {
const solarSystem = document.getElementById('solarSystem');
const btn = document.getElementById('orbitToggleBtn');
if (!solarSystem || !btn) return;
if (showOrbits) {
solarSystem.classList.add('hide-orbits');
btn.textContent = "\u2b55 \u1794\u1784\u17d2\u17a0\u17b6\u1789\u1782\u1793\u17d2\u179b\u1784";
} else {
solarSystem.classList.remove('hide-orbits');
btn.textContent = "\ud83d\udd18 \u1782\u1793\u17d2\u179b\u1784";
}
showOrbits = !showOrbits;
};
window.changeSpeed = function(speed) {
const speedValue = document.getElementById('speedValue');
const solarSystem = document.getElementById('solarSystem');
if (!speedValue || !solarSystem) return;
animationSpeed = parseFloat(speed);
speedValue.textContent = speed + 'x';
solarSystem.querySelectorAll('.orbit').forEach((orbit, index) => {
const baseDuration = [10, 15, 20, 30, 60, 90, 120, 165][index] || 20;
orbit.style.animationDuration = (baseDuration / animationSpeed) + 's';
});
};
window.resetAnimation = function() {
const solarSystem = document.getElementById('solarSystem');
if (!solarSystem) return;
solarSystem.querySelectorAll('.orbit').forEach(orbit => {
orbit.style.animation = 'none';
});
setTimeout(() => {
solarSystem.querySelectorAll('.orbit').forEach((orbit, index) => {
orbit.style.animation = '';
const baseDuration = [10, 15, 20, 30, 60, 90, 120, 165][index] || 20;
orbit.style.animationDuration = (baseDuration / animationSpeed) + 's';
});
}, 10);
};
window.showPlanetInfo = function(planetId) {
const panel = document.getElementById('planetInfoPanel');
const nameEl = document.getElementById('planetName');
const detailsEl = document.getElementById('planetDetails');
if (!panel || !nameEl || !detailsEl) return;
const planet = planetData[planetId];
if (planet) {
nameEl.textContent = planet.name;
detailsEl.innerHTML = '
' + planet.details + '
';
panel.classList.add('active');
}
};
window.closePlanetInfo = function() {
const panel = document.getElementById('planetInfoPanel');
if (panel) {
panel.classList.remove('active');
}
};
// Инициализация
setTimeout(() => {
changeSpeed(1);
}, 100);
})()"
style="display: none;">