43 lines
1.9 KiB
JSON
43 lines
1.9 KiB
JSON
{
|
|
"_comment": "SIGNAL COMPASS — the secondary compass (js/ui/SignalCompass.js). A faint radius ring (radius px around the ship) that appears after a SCAN: every UNDISCOVERED object in the tether region shows a soft 'radio signal' hugging the ring at its bearing angle (no arrows). Full strength for lifetime.fullMs, then a linear fade over lifetime.fadeMs; a signal drops the instant its object is discovered; re-scanning re-emits the whole set with a fresh clock. The ring + signals are drawn in world space centered on the ship (they track the ship), at the shared compass color by default (objects may carry their own — asteroid clusters' light gray). Everything is procedural (no assets). `enabled: false` hides the whole feature.",
|
|
"enabled": true,
|
|
"radius": 128,
|
|
"lifetime": {
|
|
"fullMs": 20000,
|
|
"fadeMs": 5000
|
|
},
|
|
"colors": {
|
|
"signal": "#00e5ff",
|
|
"glow": "#0090ff",
|
|
"ring": "#3d4c74"
|
|
},
|
|
"signal": {
|
|
"_comment": "One radio-signal marker on the ring: a soft arc hugging the radius line (arcHalfDeg = half the arc's angle), a diffuse glow under it, a small core dot at its center, and a few faint concentric arcs just OUTSIDE the ring (the 'radio wave' emanating). pulse = the slow beacon breath (hz = cycles/sec, amp = alpha swing, kept small so it reads as a signal, not a strobe).",
|
|
"arcHalfDeg": 13,
|
|
"coreWidth": 3,
|
|
"coreAlpha": 0.7,
|
|
"glowWidth": 14,
|
|
"glowAlpha": 0.16,
|
|
"dotRadius": 3.2,
|
|
"dotAlpha": 0.95,
|
|
"ripples": {
|
|
"count": 3,
|
|
"spacingPx": 9,
|
|
"width": 1.5,
|
|
"alpha": 0.3,
|
|
"arcHalfDeg": 8
|
|
},
|
|
"pulse": {
|
|
"hz": 1.1,
|
|
"amp": 0.16
|
|
}
|
|
},
|
|
"ring": {
|
|
"_comment": "The secondary-compass radius line itself — a very faint full circle. Its alpha scales with the strongest live signal (so the whole instrument fades out with them).",
|
|
"width": 1,
|
|
"alpha": 0.18,
|
|
"glowWidth": 6,
|
|
"glowAlpha": 0.05
|
|
}
|
|
}
|