Skip to content

Moons crescent rotation #253

Answered by cosinekitty
bjarkeandersen asked this question in Q&A
Discussion options

You must be logged in to vote

I think the Camera demo is what you are looking for. That is the Python version. Here is sample output:

$ ./camera.py
USAGE: ./camera.py latitude longitude [yyyy-mm-ddThh:mm:ssZ]

$ ./camera.py 30.5 -82.7
Moon horizontal position: azimuth = 259.695, altitude = 67.053
Moon check: (1.00000000, 0.00000000, 0.00000000, 2022-10-18T13:53:30.149Z)
Sun vector: (0.15665780, 0.58980540, 0.78755802, 2022-10-18T13:53:30.149Z)
Tilt angle of sunlit side of the Moon = 53.170 degrees counterclockwise from up.
Moon magnitude = -9.66, phase angle = 99.18 degrees.
Angle between Moon and Sun as seen from Earth = 80.66 degrees.

The "tilt angle" is what you are describing.

The same demo program is written in …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bjarkeandersen
Comment options

Answer selected by bjarkeandersen
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