-
Notifications
You must be signed in to change notification settings - Fork 0
/
elements.html
121 lines (110 loc) · 5.11 KB
/
elements.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Elements Visual</title>
<link rel="stylesheet" href="./elements.css">
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three/build/three.module.js",
"three/addons/": "https://unpkg.com/three/examples/jsm/"
}
}
</script>
</head>
<body>
<script type="module" src="./visual.js"></script>
<div id="viewport-container"></div>
<datalist id="true-anomaly-marker">
<option value="0"></option>
</datalist>
<datalist id="periapsis-argument-marker">
<option value="180"></option>
</datalist>
<div id="sliders">
<div id="true-anomaly-cont">
<br>
<label for="true-anomaly">
<span class="true-anomaly-display slider-value">0</span>°
<span class="def">True Anomaly</span>
<span class="symbol">ν</span>
</label>
<br><input type="range" name="true anomaly" id="true-anomaly" class="vertical" max="360" min="-360" step="0.1" value="0" list="true-anomaly-marker">
</div>
<div id="angles">
<div id="periapsis-argument-cont">
<label for="periapsis-argument">
<span class="periapsis-argument-display slider-value">0</span>°
<span class="def">Periapsis Argument</span>
<span class="symbol">ω</span><br>
</label>
<input type="range" name="periapsis argument" id="periapsis-argument" min="0" max="360" step="0.1" value="0" list="periapsis-argument-marker">
</div>
<div id="inclination-cont">
<label for="inclination">
<span class="inclination-display slider-value">45</span>°
<span class="def">Inclination</span>
<span class="symbol">ⅈ</span>
<br>
</label>
<input type="range" name="inclination" id="inclination" min="0" max="180" step="0.1" value="45" list="inclination-markers">
<datalist id="inclination-markers">condition
<option value="90"></option>
</datalist>
</div>
<div id="longitude-cont">
<label for="longitude">
<span class="longitude-display slider-value">0</span>°
<span class="def">Longitude</span>
<span class="symbol">Ω</span>
<br>
</label>
<input type="range" name="longitude" id="longitude" min="0" max="360" step="0.1" value="0">
</div>
</div>
<div id="shape">
<div id="eccentricity-cont">
<br>
<label for="eccentricity">
<span class="eccentricity-display slider-value">0.5</span>
<span class="def">Eccentricity</span>
<span class="symbol">ⅇ</span>
</label>
<br><input type="range" name="eccentricity" id="eccentricity" class="vertical" max="0.99" min="0" step="0.01" value="0.5">
</div>
<div id="semi-major-cont">
<br>
<label for="semi-major">
<span class="semi-major-display slider-value">10</span>
<span class="def">Semi-Major Axis</span>
<span class="symbol"><i>a</i></span>
</label>
<br><input type="range" name="semi-major" id="semi-major" class="vertical" max="50" min="0" step="0.1" value="10">
</div>
</div>
<div id="data">
- <span id="grade" class="def">prograde</span> -
<br><span class="def" style="color: #bb0000;">True Anomaly</span>
<span class="symbol">ν</span> =
<span class="true-anomaly-display slider-value">0</span>°
<br><span class="def" style="color: #ffc0cb;">Eccentric Anomaly</span>
<span class="symbol"><i>E</i></span> =
<span class="eccentric-anomaly-display slider-value">0</span>°
<br><span class="def" style="color: #00dd00;">Mean Anomaly</span>
<span class="symbol"><i>M</i></span> =
<span class="mean-anomaly-display slider-value">0</span>°
<div id="info">
<p>click terms for explanation</p>
<p>created by wyatt robinson :)</p>
<p><a href="./references.html" target="_blank">references</a></p>
</div>
</div>
</div>
<div id="def-box" class="popup">
<div id="popup-close">𝕏</div>
<h1 id="def-title">term</h1>
<div id="def-desc">definition</div>
</div>
<div id="def-bg" class="popup"></div>
</body>
</html>