-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolar.json
More file actions
48 lines (48 loc) · 895 Bytes
/
solar.json
File metadata and controls
48 lines (48 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"meterSize": 1,
"speed": 1,
"gravityX": 0,
"gravityY": 0,
"cameraFollow": false,
"objects": {
"Sun": {
"type": "ball",
"x": 400,
"y": 400,
"vx": 0,
"vy": 0,
"radius": 50,
"color": "#FF0000",
"mass": 82000000000,
"freeze": true,
"restitution_coef": 0.5,
"collision": true
},
"Blue-planet": {
"type": "ball",
"x": 400,
"y": 100,
"vx": 400,
"vy": 0,
"radius": 20,
"color": "#0000FF",
"mass": 10000000,
"freeze": false,
"restitution_coef": 0.5,
"collision": true
},
"Green-planet": {
"type": "ball",
"x": 400,
"y": 600,
"vx": -300,
"vy": -300,
"radius": 15,
"color": "#00FF00",
"mass": 5000000,
"freeze": false,
"restitution_coef": 0.5,
"collision": true
}
}
}