ocument.getElementById('solarSystem');
        const ctx = canvas.getContext('2d');

        // 离屏Canvas用于轨道
        const orbitCanvas = document.createElement('canvas');
        const orbitCtx = orbitCanvas.getContext('2d');

        // 设置Canvas大小为窗口大小
        function resizeCanvas() {
            canvas.width = window.innerWidth;
            canvas.height = window.innerHeight;
            orbitCanvas.width = canvas.width;
            orbitCanvas.height = canvas.height;
      