e = sun.colors[1];
            ctx.fillRect(sun.x - sun.radius / 2, sun.y - sun.radius / 2, sun.radius, sun.radius);
            ctx.fillStyle = sun.colors[2];
            ctx.fillRect(sun.x - sun.radius / 4, sun.y - sun.radius / 4, sun.radius / 2, sun.radius / 2);
            ctx.fillStyle = sun.colors[3];
            ctx.fillRect(sun.x - sun.radius / 4, sun.y + sun.radius / 4, sun.radius / 2, sun.radius / 2);

            // 绘制行星
            for (let i = 0; i < planets.length; i++) {
             