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.
 
 
 
 
 

27 lines
586 B

# Test Configuration: Sun + Hyperbolic Comet
# Comet with hyperbolic orbit (eccentricity = 1.5)
# Hyperbolic escape trajectory - total energy > 0, velocity > escape velocity
[[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 = "HyperbolicComet"
mass = 1.0e14
radius = 5.0e3
parent_index = 0
color = { r = 0.5, g = 1.0, b = 0.5 }
orbit = {
semi_major_axis = -1.496e11,
eccentricity = 1.5,
true_anomaly = 0.0
}