vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
813 B

# Test Configuration: Sun + Mars + Small Body
# Small body will experience SOI transition with Mars
# Mars SOI: ~0.58 million km (~0.004 AU)
# Expected: Sun -> Mars transition (one-way due to hysteresis)
[[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 = "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.244e11,
eccentricity = 0.0,
true_anomaly = 0.0
}
[[bodies]]
name = "SmallBody"
mass = 1.0e14
radius = 5.0e3
parent_index = 0
color = { r = 0.5, g = 0.8, b = 1.0 }
orbit = {
semi_major_axis = 3.74e11,
eccentricity = 0.7,
true_anomaly = 0.0
}