Life, Technology, and Meteorology

Seasonality 1.4 Preview: The Moon

I’ve been working on Seasonality 1.4 and thought I would show a quick preview of the new moon-related features. The screenshot here shows the new sun/moon view in Seasonality. The look of this will probably change before 1.4 is released, but I think it’s looking pretty good so far.

Last week I got some code working to calculate the moonrise and moonset times, so those are now displayed in text along with the sunrise and sunset times. I also added a new moon ring within the sun ring to give a more graphical representation of what the moon is doing at any given moment. This ring also provides a pretty slick view for astronomers, who often do not want the moon to be out while viewing extraterrestrial bodies. Since the moon ring and sun ring time periods match, it’s easy to see when both the sun and moon will be out of the picture. In this screenshot, the sun and moon match up pretty closely, but that’s not always the case.

I couldn’t add moonrise and moonset without adding a moon phase display, so that’s coming in Seasonality 1.4 as well. In the center of the rings, the moon will be graphically drawn with the appropriate amount shaded. It’s accurate within 0.7% of the actual moon phase over the next 5+ years. One interesting thing I learned while adding the moon phase is that the synodic month (the amount of time between one new moon and the next) is gradually getting longer. This is caused by the moon moving further from the earth, at a rate of about 3.8 centimeters per year. Just another random tidbit of knowledge gained while working on Seasonality.

1 Comment

  1. Philippe Martin

    Wow! Looks like you’re having lots of fun, Mike! 🙂

    Looks great! Can’t wait to try it.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2022 *Coder Blog

Theme by Anders NorenUp ↑