-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpoint.html
More file actions
123 lines (87 loc) · 4.66 KB
/
point.html
File metadata and controls
123 lines (87 loc) · 4.66 KB
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
122
123
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png">
<link rel="manifest" href="/src/manifest.json">
<link href="/src/css/point.css" rel="stylesheet">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>🌎ORBIT</title>
<body>
<div id="info-bar">
<p id="satellite-name" style="font-weight:bold;"></p>
<p id="satellite-info"></p>
<p id="pass-info"></p>
<p id="time-info"></p>
</div>
<!-- 在progress-bar-container中添加时间显示 -->
<div id="progress-bar-container" style="position: relative; height: 20px; background: #eee;">
<div id="progress-bar" style="height: 100%; background: #76c7c0; width: 0%; position: relative;">
<!-- 时间标签直接位于进度条末端 -->
<div id="elapsed-time" style="position: absolute; top: -14px; right: 0; font-size: 12px;color: rgb(255, 255, 255);"></div>
<div id="remaining-time" style="position: absolute; bottom: -14px; right: 0; font-size: 12px;"></div>
</div>
</div>
<div id="canvas-container">
<canvas id="trajectory-canvas" width="300" height="300"></canvas>
<svg id="trajectory-svg" width="300" height="300"></svg>
<div class="compass">
<!-- 替换 canvas 为 SVG -->
<!-- <canvas class="compass-circle" id="compass-background" width="300" height="300" z-index="3" ></canvas> -->
<svg class="compass-background" id="compass-backgroundsvg" width="300" height="300" viewBox="-150 -150 300 300">
<!-- 刻度线 -->
<g class="tick-marks"></g>
<!-- 外圈圆环 -->
<circle class="compass-circle-outer" cx="0" cy="0" r="140" fill="none" stroke="#494953" stroke-width="3"/>
<!-- 30°和60°圆环 -->
<circle class="compass-circle-30" cx="0" cy="0" r="93.3" fill="none" stroke="gray" stroke-width="1" stroke-dasharray="5,5"/>
<circle class="compass-circle-60" cx="0" cy="0" r="46.6" fill="none" stroke="gray" stroke-width="1" stroke-dasharray="5,5"/>
<!-- 方向标记 -->
<g class="cardinal-marks">
<text x="0" y="-110" text-anchor="middle" class="direction-text">🇳</text>
<text x="0" y="120" text-anchor="middle" class="direction-text">🇸</text>
</g>
<!-- 中心点 -->
<circle class="compass-center" cx="0" cy="0" r="3" fill="#494953"/>
</svg>
<div class="arrow"></div>
</div>
<div id="elevation-bar" style="position: absolute; left: -25px; top: 0; height: 300px; width: 20px; background-color: #ddd; border: 0px solid #999; border-radius: 3px;">
<div id="satellite-elevation" style="position: absolute; left: 1px; width: 18px; height: 18px; background-color: #e17822; border-radius: 50%;"></div>
<div id="arrow-elevation" style="position: absolute; left: 6px; width: 8px; height: 8px; background-color: #186548; border-radius: 50%;"></div>
</div>
<!-- <canvas id="satorbitpoint" width="300" height="300"></canvas> -->
<svg id="satorbitpointsvg" width="300" height="300"></svg>
</div>
<p id="doppler-info"></p>
<div class="button-container">
<button class="info-btn" id="info-btn">多普勒</button>
<!-- 新增计时器按钮 -->
<div>
<!-- Record button -->
<button id="record-btn" class="record-btn">开始录音</button>
</div>
<button id="download-btn" class="download-btn" style="display: none;">下载音频</button>
<button id="timer-btn" class="timer-btn">000</button>
</div>
<button class="start-btn" >iOS设备传感器授权</button>
<div id="popup" class="popup">
<div class="popup-content">
<button id="close-btn" class="close-btn">×</button>
<div id="satellite-feqinfo"></div>
</div>
</div>
</body>
<script src="/src/point.js"></script>
<script src="/src/satellite.js"></script>
<script defer src="https://umami.xanyi.eu.org/script.js" data-website-id="f5178bc6-3761-4415-bcea-469f5cb097d6" data-tag="point"></script>
<div id="made">
Made with ❤ by <a href="mailto:bd8ckf@outlook.com" target="_blank" class="link">bd8ckf</a>
</div>
</html>