nCanvas.width / 2, offscreenCanvas.height / 2);
            offscreenCtx.strokeStyle = 'rgba(255, 255, 255, 0.3)';
            offscreenCtx.lineWidth = 1;
            celestialBodies.forEach(body => {
                if (body.distance > 0) {
                    offscreenCtx.beginPath();
                    offscreenCtx.arc(0, 0, body.distance, 0, 2 * Math.PI);
                    offscreenCtx.stroke();
                }
            });
            offscreenCtx.restore();
        }
        drawOrbits();

   