map: fade live-mode node markers more so overlaps stay see-through

This commit is contained in:
MrAlders0n committed 2026-07-07 23:24:29 -04:00
1 parent 03d7a375a3
commit dc64382837
1 file changed
+4 -1
+4 -1
View File
@@ -110,7 +110,10 @@ export const PACKET_FLOW_HOP_MS = 480; // ms the dot takes to cross one hop segm
export const PACKET_FLOW_FLASH_MS = 900; // a crossed node's flash decays back to dim over this
export const PACKET_FLOW_TRAIL_FADE_MS = 1000; // the dashed trail fades once the dot reaches the end
export const PACKET_FLOW_MAX = 120; // cap on concurrent packet animations (busy-feed guard)
export const LIVE_DIM_OPACITY = 0.18; // idle individual-node opacity while Live mode is on
// Idle individual-node opacity while Live is on. Kept low because with clustering off, co-located
// markers overlap and their alphas composite toward bright; a crossed node still pops to full via
// the max(dim, feature-state glow) expression.
export const LIVE_DIM_OPACITY = 0.08;
// Clusters dim further: many overlapping semi-transparent hexagons composite toward opaque, so a
// dense cluster field stops being see-through. A lower per-cluster alpha keeps the stack translucent.
export const LIVE_CLUSTER_DIM_OPACITY = 0.07;