refactor(earth): abstract cable highlight logic with applyCableVisualState()

This commit is contained in:
rayd1o
2026-03-19 15:55:32 +08:00
parent d18e400fcb
commit 869d661a94
2 changed files with 49 additions and 39 deletions

View File

@@ -38,7 +38,15 @@ export const CABLE_COLORS = {
'default': 0xffff44
};
// Grid configuration
export const CABLE_CONFIG = {
lockedOpacityMin: 0.6,
lockedOpacityMax: 1.0,
otherOpacity: 0.5,
otherBrightness: 0.6,
pulseSpeed: 0.003,
pulseCoefficient: 0.4
};
export const GRID_CONFIG = {
latitudeStep: 10,
longitudeStep: 30,