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.
 
 
 
 
 

20 lines
761 B

# Binary Star System with Planets
# A simple example of two stars orbiting each other with planets around them
# Star A (yellow, index 0) - positioned to the right
StarA 1.5e30 8.0e8 3.0e11 0 0 -1 1.0 1.0 0.2
# Star B (blue, index 1) - positioned to the left
StarB 1.2e30 7.0e8 -3.7e11 0 0 -1 0.3 0.5 1.0
# Planet orbiting Star A (index 2, parent is StarA at index 0)
PlanetA1 6.0e24 7.0e6 3.5e11 0 0 0 0.8 0.3 0.2
# Planet orbiting Star B (index 3, parent is StarB at index 1)
PlanetB1 4.0e24 6.0e6 -4.2e11 0 0 1 0.2 0.8 0.6
# Moon orbiting PlanetA1 (index 4, parent is PlanetA1 at index 2)
MoonA1 1.0e23 2.0e6 3.52e11 0 0 2 0.7 0.7 0.7
# Second planet orbiting Star A (index 5, parent is StarA at index 0)
PlanetA2 8.0e24 8.0e6 4.0e11 0 0 0 0.5 0.6 0.3