Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Moon phase on historical eventsby Aldebaran (Curate) |
on Oct 09, 2021 at 08:15 UTC ( [id://11137380]=note: print w/replies, xml ) | Need Help?? |
I found this understandable once I went through it with the debugger. A person can get caught up in the geometry of it. This comes at it with strings. I changed the events to my locality and then switched the location to a point somewhere in bliako's neighborhood:
These data seem plausible. I don't know why I needed Geo::Location::TimeZone to get this done and also Math::Polygon, but it works as advertised. In starting this I was not aware that Moon phase for a specific time is more-or-less the same for anywhere on the surface of our planet, irrespective of standpoint. With the caveat that our antipodean fellows will see it, well ... , antipodeanly.Yeah, so if you freeze time, we all see the same moon, barring obstructions like walls, trees, mountains, clouds, or the earth itself. If you wonder what it was like for someone at one a.m. at the antipode, the answer will differ as the above. The comparison of phase to fraction illuminated is also interesting. Fun stuff. Thanks for posting.
In Section
Cool Uses for Perl
|
|