From 027651c67ef5ea1938fc90e3c983b9d764360bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 19 Aug 2026 10:49:31 +0200 Subject: [PATCH] Korrigiere Mondrichtung in lokaler Sonnenfinsternis-Ansicht --- public/sonnenfinsternis.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);