diff --git a/public/sonnenfinsternis.php b/public/sonnenfinsternis.php index d55acce..3d7230a 100644 --- a/public/sonnenfinsternis.php +++ b/public/sonnenfinsternis.php @@ -690,7 +690,9 @@ function drawLocalView() { const sunR = R; const moonR = geo.moonAngR * sc; - const mx = cx + geo.dx * sc; + // Sky-view perspective is mirrored horizontally relative to the + // east-positive topocentric offset used in the geometry calculation. + const mx = cx - geo.dx * sc; const my = cy + geo.dy * sc; const glow = ctx.createRadialGradient(cx, cy, sunR * 0.9, cx, cy, sunR * 2.2);