-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (59 loc) · 2.44 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Marslink</title>
<meta name="description"
content="A simulation of Marslink, a projected heliocentric satellite constellation to link Earth and Mars via SpaceX satellites. Developed by Julien Villa-Massone. Not affiliated with SpaceX.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <script src="https://cdn.jsdelivr.net/npm/chart.js?v=2.5"></script> -->
<script src="scripts/imported/chart/chart.js?v=2.5"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Follow link in the top-right corner -->
<div id="overlay-top-right" class="overlay">
<a id="followX" href="https://x.com/julienvm" target="_blank">
<img src="img/x_logo.jpg" alt="Follow on X" class="x-logo">
Follow Dev @julienvm
</a>
<div id="info-area">
<div id="info-area-costs"></div>
<br>
<div id="info-area-data"></div>
<div style="width: 100%; height: 200px;">
<canvas id="latencyChart"></canvas>
</div>
</div>
<!-- Start Long-Term Run Button -->
<button id="startLongTermRun" class="long-term-button">Start Long-Term Run</button>
<br>
<button id="startLongTermScenariosRun" class="long-term-button">Start Scenarios Run</button>
<!-- Container to Display Long-Term Run Results -->
<div id="long-term-results" style="margin-top: 20px;">
<pre id="long-term-summary"></pre>
</div>
</div>
<!-- Simulation Information in the top-left corner -->
<div id="overlay-top-left" class="overlay">
<div id="sliders-container"></div>
</div>
<div id="overlay-bottom-left" class="overlay">
<div>Object sizes not to scale - Distances and calculations to scale</div>
<div>Not affiliated with SpaceX - Spot the Tesla Roadster</div>
</div>
<div id="overlay-bottom-right" class="overlay">
<div id="simTime"></div>
</div>
<!-- Import map for three.js r170 -->
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js?v=2.5",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
}
}
</script>
<script type="module" src="scripts/simMain.js?v=2.5"></script>
</body>
</html>