Added config file for planets

This commit is contained in:
Thomas Faour
2025-06-02 08:27:45 -04:00
parent 4b21fb75e8
commit f52ecf4889
13 changed files with 386 additions and 90 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"planets": [
{
"name": "Earth",
"mass": 5.972e24,
"position": [149597870700, 0, 0],
"velocity": [0, 29780, 0]
},
{
"name": "Moon",
"mass": 7.34767309e22,
"position": [149982270700, 0, 0],
"velocity": [0, 30802, 0]
},
{
"name": "Sun",
"mass": 1.989e30,
"position": [0, 0, 0],
"velocity": [0, 0, 0]
}
]
}
+16
View File
@@ -0,0 +1,16 @@
{
"planets": [
{
"name": "Earth",
"mass": 7.342e24,
"position": [0, 0, 0],
"velocity": [0, -1022, 0]
},
{
"name": "Moon",
"mass": 7.34767309e24,
"position": [384400000, 0, 0],
"velocity": [0, 1022, 0]
}
]
}