mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
feat(satellites): current ISS model with moving parts and a command panel
The ISS model is now NASA/JSC IGOAL's current-configuration station (Nauka, Prichal, Bishop, roll-out arrays), reduced from 96 MB to 3 MB with its joints kept as nodes. NASA's file is a mirror image of the station and marks 15 materials as blended; both are corrected. Its parts move by computation, never telemetry: arrays and radiators by the Sun (feathered in the Earth's shadow), the Ku-band dishes toward the TDRS nominal slots, and the robotic arms as an illustrative sway. Selecting the ISS shows a collapsed command panel: zoom to the station, Automatic (default, with a lit/shadow status line) and Manual controls for the Sun's position, arrays, radiators, dishes and Canadarm2. Also: docked objects are found by comparing both orbits at one instant, the tracked card keeps clear of the model, the model file loads only near its range, and both ISS panels follow a language change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9aeabbacfb
commit
a75993a66b
35 files changed
+2636
-119
No files matched your search
+119
-53
@@ -1,38 +1,20 @@
|
||||
/* NASA's ISS live video while the ISS is selected (src/layers/satellites/issLive.js).
|
||||
Bottom right, above the timeline and under the right rail: 300 px wide keeps
|
||||
it clear of the rail's last item at 720 px tall, and the rail (z-index 110)
|
||||
stays on top where a shorter window makes them meet. */
|
||||
.iss-live-panel {
|
||||
position: fixed;
|
||||
The project's floating video window: the Québec CCTV player's `qci-` look
|
||||
(quebecCctvOverlay.css), draggable by its header. Only its starting place
|
||||
and the iframe's details are set here: bottom right, above the timeline,
|
||||
300 px wide so it clears the right rail. */
|
||||
.qci-panel.iss-live-panel {
|
||||
top: auto;
|
||||
right: 16px;
|
||||
bottom: 96px;
|
||||
z-index: 40;
|
||||
width: min(300px, calc(100vw - 32px));
|
||||
background: rgba(6, 14, 22, 0.92);
|
||||
border: 1px solid rgba(0, 220, 255, 0.35);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
|
||||
color: #d8f6ff;
|
||||
font-family: var(--font-mono);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.iss-live-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 6px 8px 6px 10px;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.iss-live-title {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
color: #ffd84d;
|
||||
}
|
||||
|
||||
.iss-live-dot {
|
||||
@@ -43,42 +25,126 @@
|
||||
box-shadow: 0 0 6px #ff4444;
|
||||
}
|
||||
|
||||
.iss-live-link {
|
||||
color: #7fe3ff;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.iss-live-link:hover,
|
||||
.iss-live-link:focus-visible {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.iss-live-close {
|
||||
.iss-live-panel .qci-live {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #d8f6ff;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
padding: 2px 4px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* The ISS command panel (src/layers/satellites/issCommand.js): the same
|
||||
floating window, bottom left, collapsed to its header until opened. */
|
||||
.qci-panel.iss-command-panel {
|
||||
top: auto;
|
||||
right: auto;
|
||||
left: 16px;
|
||||
bottom: 96px;
|
||||
width: min(250px, calc(100vw - 32px));
|
||||
}
|
||||
|
||||
.iss-command-title {
|
||||
min-width: 0;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.iss-command-body {
|
||||
max-height: calc(100vh - 230px);
|
||||
overflow-y: auto;
|
||||
padding: 8px 10px 10px;
|
||||
}
|
||||
|
||||
.iss-command-body[hidden],
|
||||
.iss-command-manual[hidden],
|
||||
.iss-command-panel .qci-note[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.iss-command-modes {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.iss-command-mode,
|
||||
.iss-command-button {
|
||||
padding: 5px 7px;
|
||||
border: 1px solid #2a5d78;
|
||||
border-radius: 5px;
|
||||
background: #12283a;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.iss-live-close:hover,
|
||||
.iss-live-close:focus-visible {
|
||||
color: #ffffff;
|
||||
.iss-command-mode.is-active,
|
||||
.iss-command-button.is-active {
|
||||
border-color: #3eabbc;
|
||||
background: #1b4a5c;
|
||||
}
|
||||
|
||||
.iss-live-frame {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: #000;
|
||||
.iss-command-mode:focus-visible,
|
||||
.iss-command-button:focus-visible,
|
||||
.iss-command-slider input:focus-visible {
|
||||
outline: 2px solid #7fe3f3;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.iss-live-frame iframe {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
.iss-command-panel .qci-note {
|
||||
margin: 6px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.iss-command-group {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.iss-command-label {
|
||||
margin-bottom: 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.iss-command-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.iss-command-sliders {
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.iss-command-slider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.iss-command-slider span {
|
||||
flex: 0 0 96px;
|
||||
}
|
||||
|
||||
.iss-command-slider input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.iss-command-zoom {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
margin-bottom: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.iss-command-zoom[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.iss-command-status {
|
||||
margin: 0 0 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.iss-command-status[hidden],
|
||||
.iss-command-status:empty {
|
||||
display: none;
|
||||
}
|
||||
Reference in new issue
Block a user