
{"id":158,"date":"2006-07-24T14:17:42","date_gmt":"2006-07-24T14:17:42","guid":{"rendered":"http:\/\/www.starcoder.com\/wordpress\/2006\/07\/24\/seasonality-14-preview-the-moon\/"},"modified":"2021-10-30T20:01:12","modified_gmt":"2021-10-30T20:01:12","slug":"seasonality-14-preview-the-moon","status":"publish","type":"post","link":"https:\/\/www.starcoder.com\/wordpress\/2006\/07\/seasonality-14-preview-the-moon\/","title":{"rendered":"Seasonality 1.4 Preview:  The Moon"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/blog\/static_links\/sun_moon.jpg\" align=\"right\" border=\"1\" hspace=\"4\" \/><\/p>\n<p>I&#8217;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&#8217;s looking pretty good so far.<\/p>\n<p>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&#8217;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&#8217;s not always the case.<\/p>\n<p>I couldn&#8217;t add moonrise and moonset without adding a moon phase display, so that&#8217;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&#8217;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 <a href=\"http:\/\/www.geartrains.com\/gtwpsm.html\">gradually getting longer<\/a>. 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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&#8217;s looking pretty good so far. Last week I got some code [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,27],"tags":[],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-gaucho-software","category-seasonality","post-preview"],"_links":{"self":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":1,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/158\/revisions\/634"}],"wp:attachment":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}