Astro:...stants(3pm)
β¨ Astro::Montenbruck::RiseSet::Constants β¨
okay so this is the Astro:...stants(3pm) page, which is short for Astro::Montenbruck::RiseSet::Constants β the rise/set constants module, bestie. it's literally just a big ol' box of named values that the rest of the rise/set modules pass around. no cap. π
πΈ NAME πΈ
Astro::Montenbruck::RiseSet::Constants β rise/set constants π«
π¦ SYNOPSIS π¦
like, pull in everything at once:
use Astro::Montenbruck::RiseSet::Constants qw/:all/;
β VERSION β
Version 0.01 β baby's first version, we love to see it πΌ
π DESCRIPTION π
Constants used across rise/set modules. that's the whole vibe check: these are the shared values that show up all over the rise/set code so nobody has to retype magic numbers. iykyk π₯
π EXPORT π
π CONSTANTS π
π EVENTS
$EVT_RISEβ rise (object's coming up over the horizon, main character entrance energy) β¨$EVT_SETβ set (and it's going back down, we don't talk about it) π$EVT_TRANSITβ transit (upper culmination, aka the object's big moment at the top)@RS_EVENTSβ array containing all the constants above, i.e. the whole events squad together π«Ά
π STATES
$STATE_CIRCUMPOLARβ always above the horizon (never leaves, obsessed with you fr fr)$STATE_NEVER_RISESβ always below the horizon (never shows up, lowkey ghosting) π
π§ TYPES OF TWILIGHT
$TWILIGHT_CIVILβ civil$TWILIGHT_ASTROβ astronomical$TWILIGHT_NAUTICALβ nautical
(three flavours of twilight, all iconic in their own way πΈ)
β°οΈ STANDARD ALTITUDES
$H0_SUNβ Sun βοΈ$H0_MOOβ Moon π (yes,MOO, that's literally the name, don't @ me)$H0_PLAβ Planets and stars β%H0_TWLβ For twilight types. Keys are "TYPES OF TWILIGHT" β so like, you look up a twilight type and get the matching altitude. precious π
π·οΈ TAGS π·οΈ
:eventsβ$EVT_RISE,$EVT_SET,$EVT_TRANSIT,@RS_EVENTS:statesβ$STATE_CIRCUMPOLAR,$STATE_NEVER_RISES:twilightβ$TWILIGHT_CIVIL,$TWILIGHT_ASTRO,$TWILIGHT_NAUTICAL:altitudesβ$H0_SUN,$H0_MOO,$H0_PLA,%H0_TWL:allβ all of the above (yes, the whole entire menu, go off) π
π AUTHOR π
Sergey Krushinsky, "<krushi at cpan.org>" β say thank you to the icon who wrote this π«Ά
π COPYRIGHT AND LICENSE π
Copyright (C) 2010-2022 by Sergey Krushinsky
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ngl the license part matters: free software, same terms as Perl itself, redistribute and/or modify away β just keep the copyright line, bestie. periodt. π
and that's the whole page, no notes π this was perl v5.42.2, dated 2026-02-15, and we are soooo done here β slay, bye! π¦β¨
π¦ where this page comes from
- alpine 3.24: perl-astro-montenbruck-doc 1.26-r1 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms