Celestine API Documentation - v0.9.0
    Preparing search index...

    Interface MoonPhaseInfo

    Lunar geometry at a TT JD; angles in degrees, distances used internally in AU.

    info.illumination
    
    interface MoonPhaseInfo {
        elongation: number;
        phaseAngle: number;
        illumination: number;
        waxing: boolean;
        phase: LunarPhase;
        phaseName: MoonPhaseName;
    }
    Index
    elongation: number
    phaseAngle: number
    illumination: number
    waxing: boolean
    phase: LunarPhase

    Nearest principal phase (45-degree bucket boundaries).

    phaseName: MoonPhaseName

    Eight-phase name: 45-degree elongation buckets centred on 0, 45, ... 315 degrees, so 'new-moon' is elongation within 22.5 degrees of 0, 'waxing-crescent' 22.5–67.5, and so on.