Added config file for planets
This commit is contained in:
@@ -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]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user