The Moon's phase at an instant and its named phase #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#4 The Sun's apparent position
jeff/zig-astro
#5 The Moon's apparent position
jeff/zig-astro
Reference
jeff/zig-astro#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1
Parent
#1
What to build
The Moon's phase at an instant, from ch. 48's exact form using the apparent positions of the Moon and the Sun: elongation, phase angle, illuminated fraction, the position angle of the bright limb, whether the Moon is waxing or waning, and its named phase.
Named phases are eight equal 45° sectors of elongation centered on 0°, 45°, …, 315°: new Moon, waxing crescent, first quarter, waxing gibbous, full Moon, waning gibbous, last quarter, waning crescent. The name depends only on the sky, never on a calendar day or a timezone.
Acceptance criteria
zig build test,zig build check,zig fmt --exclude zig-pkg --check .andreuse lintpass