-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
80 lines (75 loc) · 1.28 KB
/
config.js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// app/components/globe/utils/config.js
export const config = {
urls: {
globeTexture: '/app/components/globe/textures/earth_day.jpg',
pointTexture: '/app/components/globe/img/disc.png'
},
sizes: {
globe: 200,
globeDotSize: 1
},
scale: {
points: 0.025,
markers: 0.025,
globeScale: 1
},
rotation: {
globe: 0.001
},
colors: {
globeDotColor: 'rgb(129,129,129)',
globeMarkerColor: 'rgb(143, 216, 216)',
globeMarkerGlow: 'rgb(255, 255, 255)',
globeLines: 'rgb(182,182,182)',
globeLinesDots: 'rgb(148, 148, 233)'
},
display: {
points: false,
map: false,
lines: true,
markers: true,
markerLabel: true,
markerPoint: true,
atmosphere: true,
earthMap: true,
earthMapClouds: false
},
dots: {
total: 30
}
};
export const elements = {
globe: null,
atmosphere: null,
globePoints: null,
lineDots: [],
markers: [],
markerLabel: [],
markerPoint: [],
lines: [],
earthMap: null,
earthMapClouds: null
};
export const textures = {
markerLabels: []
}
export const groups = {
map: null,
main: null,
globe: null,
lines: null,
points: null,
markers: null,
atmosphere: null,
lineDots: null,
earthMap: null,
earthMapClouds: null
};
export const countries = {
interval: 20000,
selected: null,
index: 0
};
export const animations = {
rotateGlobe: true
};