Skip to content

fix: per-satellite magnitude (stop using the ISS brightness for everything) - #13

Merged
coffee-converter merged 1 commit into
mainfrom
seeksat-per-sat-magnitude
Jun 15, 2026
Merged

fix: per-satellite magnitude (stop using the ISS brightness for everything)#13
coffee-converter merged 1 commit into
mainfrom
seeksat-per-sat-magnitude

Conversation

@coffee-converter

Copy link
Copy Markdown
Owner

magnitudeAt hardcoded m_std = -1.8 — the ISS's standard magnitude — so Hubble/NOAA-19/BlueWalker 3 all reported the ISS's brightness (and the magnitude-driven polar-arc fade was wrong for them).

  • Adds a per-satellite standardMag to the catalog (ISS −1.8, Tiangong −1.0, BlueWalker 3 +0.5, Hubble +2.0, NOAA-19 +3.5 — approximate published standard magnitudes at 1000 km).
  • Threads it through magnitudeAt → peakMagnitudeInWindow and the polar-arc gradient; wired from the selected satellite in the scene and the resolved catalog entry in the MCP. Default −1.8 keeps unthreaded callers (e.g. OG render) unchanged.
  • The visual quality score doesn't use magnitude, so it's untouched.

New node:test covers the param default + one-for-one stdMag shift + catalog sanity. 376/376 tests, typecheck + build clean.

magnitudeAt hardcoded m_std = -1.8 (the ISS), so every satellite got the
ISS's brightness. Add a per-sat standardMag to the catalog and thread it
through magnitudeAt -> peakMagnitudeInWindow / arc gradient, wired from
the selected satellite in the scene and from the resolved entry in the
MCP. Defaults to -1.8 so unthreaded callers are unchanged.

Values (std mag, 1000km): ISS -1.8, Tiangong -1.0, BlueWalker 3 +0.5,
Hubble +2.0, NOAA-19 +3.5.
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
seeksat Ready Ready Preview, Comment Jun 15, 2026 6:58am

Request Review

@coffee-converter
coffee-converter merged commit 0465fcb into main Jun 15, 2026
1 of 3 checks passed
@coffee-converter
coffee-converter deleted the seeksat-per-sat-magnitude branch June 15, 2026 06:57
coffee-converter added a commit that referenced this pull request Jul 3, 2026
magnitudeAt hardcoded m_std = -1.8 (the ISS), so every satellite got the
ISS's brightness. Add a per-sat standardMag to the catalog and thread it
through magnitudeAt -> peakMagnitudeInWindow / arc gradient, wired from
the selected satellite in the scene and from the resolved entry in the
MCP. Defaults to -1.8 so unthreaded callers are unchanged.

Values (std mag, 1000km): ISS -1.8, Tiangong -1.0, BlueWalker 3 +0.5,
Hubble +2.0, NOAA-19 +3.5.
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