The image on this page is a live simulation of the current phase of the moon, delivered as a web gadget. In addition to the image, it also shows the length of time until the next (and since the previous) new or full moon.
This gadget was featured in my second book, Pro Web Gadgets across iPhone, Android, Windows, Mac, iGoogle, and More, published in December 2009 by Apress. In the book, this gadget is used to illustrate the techniqures involved in deploying a single web gadget code base to a multitude of platforms, from pure web portals to native smartphone applications.
In addition to being a case study in the book, Moon Phase is also a fully functional web gadget, used and enjoyed by tens of thousands of people worldwide. You can be one of them; simply select your preferred platform below.
If you have any questions about the gadget or the book, please contact me.
The image on this page is the live gadget in its native form; it can be embedded into any web page in this same way. You'll simply need to insert code like this into your page's HTML source:
<iframe style="width: 300px; height: 200px;" src="http://daylightmap.com/moon/phase.html"></iframe>
Note that you can select essentially whatever
height you like; the gadget does a
pretty good job of adjusting its content to its container.
It can also be installed in the sidebar of Gmail, but unfortunately, this is a manual process:
Click to add the gadget to your Vista sidebar or Windows 7 desktop.
Widgets are natviely supported by Windows Mobile 6.5 and above; from your phone, click to install Moon Phase. If you're using an older version, you can still run the widget from Opera Mobile (see the previous section).
On newer Symbian smartphones (which support the Web Run-Time) click to install the widget.
Moon Phase is available as an iPhone web app; simply navigate to that link and bookmark it to your home screen.
Install Moon Phase as a native Android app. Note that you'll need to enable Unknown Sources under Settings | Applications to install from a link like this.
I've also produced a premium version for Android, Moon Phase Pro. Although it's inspired by the web gadget featured on this page, it is a standalone application.