feat: draw orbits as stars in the realistic look and follow the radar wave
The orbit overlay fit the radar look but read as a diagram laid over the realistic one. Give each look its own grammar over the same data. - Realistic look: each orbit is a star with a bright core, a status-tinted glow and four tapered diffraction spikes, which the sky's own stars never have. Status still shows by shape as well as colour. Tracks recede to a faint trace, hovering a marker reveals its shell, and the selected orbit keeps its dashed ring. Moving markers trail a tapered comet tail along their orbit. - Stars shimmer out of phase on the scene loop that already runs, more for working and failed ones. A stopped map is still, and reduced motion turns it off. Hovering a star enlarges it with the shared spring. - Radar look: plain instrument dots and full-strength tracks, as before. - The overlay takes the look at each marker's and ring's own distance from the hole, so it changes as the radar wave front passes. The renderer exposes this as signal.lookAt and calls signal.onLook while the wave runs. - Slow the wave spring so the front takes about 0.4 s to cross the orbit area instead of 0.2 s, and end it at 99.5% progress. - Test that a marker's trail points back along its motion. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -338,14 +338,18 @@ button:disabled { cursor: default; }
|
||||
.legend-snapshot { border: 1px solid #dfe4ef; transform: rotate(45deg); }
|
||||
.galaxy-frame { width: 100%; max-width: calc((var(--workspace-height) - 120px) * 1.375); aspect-ratio: 11 / 8; align-self: center; justify-self: center; }
|
||||
.galaxy-frame > svg { display: block; width: 100%; height: 100%; overflow: hidden; }
|
||||
.orbit-tracks { fill: none; stroke: #949eaa; stroke-width: .75; opacity: .36; }
|
||||
.orbit-tracks .is-selected { stroke: #eebf92; stroke-dasharray: 3 4; stroke-width: 1.6; }
|
||||
.orbit-tracks { fill: none; stroke: #949eaa; stroke-width: .75; }
|
||||
.orbit-tracks ellipse { stroke-opacity: var(--track, .12); }
|
||||
.orbit-tracks .is-hover { stroke-opacity: .5; }
|
||||
.orbit-tracks .is-selected { stroke: #eebf92; stroke-opacity: .85; stroke-dasharray: 3 4; stroke-width: 1.6; }
|
||||
.orbit-marker { color: #c3c9d0; }
|
||||
.orbit-marker--red { color: var(--color-orbit-red); }
|
||||
.orbit-marker--amber { color: var(--color-orbit-amber); }
|
||||
.orbit-marker--green { color: var(--color-orbit-green); }
|
||||
.orbit-light, .orbit-halo { fill: currentColor; pointer-events: none; }
|
||||
.orbit-light { stroke: #0a0c10; stroke-width: 1.4; }
|
||||
.marker-trail { pointer-events: none; }
|
||||
.marker-star { pointer-events: none; }
|
||||
.orbit-knockout { pointer-events: none; }
|
||||
.orbit-halo { opacity: .08; }
|
||||
.orbit-alert, .orbit-selection, .orbit-busy { fill: none; stroke: currentColor; stroke-width: 1.15; pointer-events: none; }
|
||||
|
||||
Reference in New Issue
Block a user