[[bodies]] name = "Sun" mass = 1.989e30 radius = 6.96e8 parent_index = -1 color = { r = 1.0, g = 1.0, b = 0.0 } orbit = { semi_major_axis = 0.0, eccentricity = 0.0, true_anomaly = 0.0 } [[bodies]] name = "Earth" mass = 5.972e24 radius = 6.371e6 parent_index = 0 color = { r = 0.0, g = 0.5, b = 1.0 } orbit = { semi_major_axis = 1.496e11, eccentricity = 0.0, true_anomaly = 0.0 } [[bodies]] name = "Mars" mass = 6.39e23 radius = 3.3895e6 parent_index = 0 color = { r = 0.8, g = 0.3, b = 0.1 } orbit = { semi_major_axis = 2.279e11, eccentricity = 0.0, true_anomaly = 0.0 } [[bodies]] name = "Spacecraft" mass = 1.0 radius = 1000.0 # Position at LEO altitude: Earth position + (Earth radius + 200km altitude) # Earth: 1.496e11, LEO offset: 6.571e6, Total: 1.49606571e11 parent_index = 1 color = { r = 1.0, g = 0.0, b = 0.5 } orbit = { # Semi-major axis: Earth radius + 200km LEO altitude semi_major_axis = 6.571e6, eccentricity = 0.0, true_anomaly = 0.0 }