position angle of axis and sub-sun point (feat. in Chapter53 Meeus #339
YingChangJ
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is very cool! Thank you for posting it. I'm not in a position right now to study this carefully, but I feel @ebraminio might find this of interest, especially for rendering images of the Moon in the Persian calendar. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I was trying to make this animation display how Moon looks like from earth, it seems that I need more info than just Libration. At least, where the pole points to is a degrees of freedom. (yes, it keeps a small degree away from the normal of ecliptic plane, but I am not very sure how to rotate this pole)
After reading the Chapter53 Meeus, I found the calculation of sub-sun and position angle is not expensive, especially when the libration is alrighdy available.
I think it might help someone have the same problem.
btw, sub-sun is not really needed if the position of Moon and Sun is available, I added just in convenience to draw. (librations and position angle of axis could give us a Rotation matrix of Moon's Selenographic coordinate system, that could be totally enough for all other things.)
Here is the implementation, beyond the old Libration function, (it have the same result as the book, but not test with a longer time range):
Beta Was this translation helpful? Give feedback.
All reactions