Skip to content

Simple way to obtain Moon Angles in Kotlin. #298

Discussion options

You must be logged in to vote

Hello @amoledwatchfaces and welcome to the project!

Most of this will be easy in Astronomy Engine. You can start with the illumination function. It returns an Illumination object, which tells you illumination phase angle (the angle in degrees between the Sun and the Earth, as seen from the body), and the illuminated phase fraction (from 0.0 to 1.0).

It is possible to calculate the Moon's axis using the function rotationAxis. It gives you the direction of the axis in space as both a vector and as equatorial angles (right ascension and declination). Do you have a sense of what a "position angle" means in the context you need? That part may take some research.

About the bright limb angle and…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@amoledwatchfaces
Comment options

@cosinekitty
Comment options

Answer selected by amoledwatchfaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants