fix: destaca estrelas do catálogo no céu profundo
This commit is contained in:
parent
28a1101382
commit
820f941b4f
1 changed files with 2 additions and 2 deletions
|
|
@ -1436,10 +1436,10 @@ function projectSky() {
|
|||
const aa = altAz(ra, dec, lst);
|
||||
const sc = skyToScreen(aa.alt, aa.az, W, horizonPx);
|
||||
if (!sc) continue;
|
||||
const a = Math.max(0.33, Math.min(1, 1.15 - 0.15 * mag)) *
|
||||
const a = Math.max(0.38, Math.min(1, 1.18 - 0.15 * mag)) *
|
||||
extinction(aa.alt) * glareFactor(sc.x, sc.y, W, H, glareOn);
|
||||
if (a < 0.01) continue;
|
||||
const r = Math.max(0.45, 2.7 - 0.42 * mag);
|
||||
const r = Math.max(0.52, 2.85 - 0.43 * mag);
|
||||
const c = STAR_PALETTE[ci];
|
||||
if (mag <= TWINKLE_MAG) {
|
||||
/* fase/freq determinísticas por índice — cintilação estável */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue