feat: Add ISS tracking globe and location controls to SSTV mode

- Update TLE data with current orbital elements for accurate predictions
- Add location inputs (lat/lon) and GPS button to SSTV stats strip
- Add TLE update button to fetch latest orbital data from CelesTrak
- Add 3D globe visualization showing real-time ISS position
- Display ISS coordinates and altitude below globe
- Auto-refresh ISS position every 5 seconds
- Add NOAA-15, NOAA-18, NOAA-19 satellites to TLE data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-29 16:22:24 +00:00
parent 18ef6218d8
commit 07ae227cee
4 changed files with 535 additions and 24 deletions

View File

@@ -155,6 +155,60 @@
letter-spacing: 0.5px;
}
/* Location inputs in strip */
.sstv-strip-location {
display: flex;
align-items: center;
gap: 4px;
}
.sstv-loc-input {
width: 70px;
padding: 4px 6px;
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 4px;
color: var(--text-primary);
text-align: right;
}
.sstv-loc-input:focus {
outline: none;
border-color: var(--accent-cyan);
}
.sstv-strip-btn.gps {
display: flex;
align-items: center;
gap: 4px;
background: var(--bg-tertiary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.sstv-strip-btn.gps:hover {
background: var(--accent-green);
color: #000;
border-color: var(--accent-green);
}
.sstv-strip-btn.update-tle {
display: flex;
align-items: center;
gap: 4px;
background: var(--bg-tertiary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.sstv-strip-btn.update-tle:hover {
background: var(--accent-orange);
color: #000;
border-color: var(--accent-orange);
}
/* ============================================
LIVE DECODE SECTION
============================================ */
@@ -394,6 +448,65 @@
margin-bottom: 12px;
}
/* ============================================
ISS ROW (Globe + Pass Info)
============================================ */
.sstv-iss-row {
display: flex;
gap: 16px;
align-items: stretch;
}
.sstv-globe-container {
display: flex;
flex-direction: column;
align-items: center;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 12px;
min-width: 220px;
}
#sstvGlobe {
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, #1a3a5c, #0a1929);
box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.5);
}
.sstv-globe-info {
text-align: center;
margin-top: 8px;
}
.sstv-globe-label {
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
color: var(--text-dim);
text-transform: uppercase;
letter-spacing: 1px;
}
.sstv-globe-coords {
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: var(--accent-cyan);
margin-top: 4px;
}
.sstv-globe-alt {
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
color: var(--text-secondary);
margin-top: 2px;
}
.sstv-pass-info-container {
flex: 1;
display: flex;
align-items: center;
}
/* ============================================
ISS PASS INFO
============================================ */
@@ -405,7 +518,7 @@
background: rgba(0, 212, 255, 0.05);
border: 1px solid rgba(0, 212, 255, 0.2);
border-radius: 6px;
margin-bottom: 0;
flex: 1;
}
.sstv-iss-icon {
@@ -504,6 +617,25 @@
}
}
@media (max-width: 1024px) {
.sstv-iss-row {
flex-direction: column;
}
.sstv-globe-container {
flex-direction: row;
min-width: auto;
width: 100%;
justify-content: center;
gap: 16px;
}
.sstv-globe-info {
margin-top: 0;
text-align: left;
}
}
@media (max-width: 768px) {
.sstv-stats-strip {
padding: 8px 12px;
@@ -514,6 +646,14 @@
display: none;
}
.sstv-strip-location {
flex-wrap: wrap;
}
.sstv-loc-input {
width: 55px;
}
.sstv-gallery-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 8px;
@@ -524,6 +664,14 @@
flex-direction: column;
text-align: center;
}
.sstv-globe-container {
flex-direction: column;
}
.sstv-globe-info {
text-align: center;
}
}
@keyframes pulse {