Skip to content

fix(globe): correct satellite beam coordinate system to match globe.gl#1344

Merged
koala73 merged 1 commit intomainfrom
fix/satellite-beam-coords
Mar 9, 2026
Merged

fix(globe): correct satellite beam coordinate system to match globe.gl#1344
koala73 merged 1 commit intomainfrom
fix/satellite-beam-coords

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Mar 9, 2026

Summary

  • Fix satellite beam coordinates: GLOBE_R = 100 (was 1), theta = (90 - lng) (was lng + 180)
  • Fix ground spread radius from 0.018 to 1.8 and normalize ground points to globe surface (multiplyScalar(100))
  • Without this fix, beams were invisible due to coordinate system mismatch with globe.gl internals

Context

The coordinate fix from PR #1342 was committed after the PR was already merged, so the fix never made it to main.

Test plan

  • Enable satellites layer on 3D globe
  • Verify beam/ray lines render from satellite positions down to the ground
  • Verify beams are color-coded by satellite country

Globe.gl uses GLOBE_RADIUS=100 and theta=(90-lng), not radius=1.
Beams were invisible because they were 100x too small inside the globe.
@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Building Building Preview, Comment Mar 9, 2026 1:49pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@koala73 koala73 merged commit ab2d2cf into main Mar 9, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant