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.

Cover of Pro Web Gadgets 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.

Blog or Other Website

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 width and height you like; the gadget does a pretty good job of adjusting its content to its container.

Netvibes

Add the Moon Phase widget to your Netvibes page by clicking here: Add to Netvibes

Google properties

The gadget can be placed on your iGoogle page by clicking here: Add to iGoogle

It can also be installed in the sidebar of Gmail, but unfortunately, this is a manual process:

  1. In GMail, click the Settings link (at the upper-right), and go to the Labs tab.
  2. In Labs, turn on the Add any gadget by URL feature (currently towards the bottom), and save your changes.
  3. Back in Settings, go to the Gadgets tab.
  4. Copy & paste in the following URL to activate the gadget:

http://daylightmap.com/moon/phase_igoogle.xml

Windows Vista and 7

Click to add the gadget to your Vista sidebar or Windows 7 desktop.

Opera

Click the appropriate link to install the widget into either desktop Opera or Opera Mobile.

Windows Mobile

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).

Symbian S60

On newer Symbian smartphones (which support the Web Run-Time) click to install the widget.

iPhone

Moon Phase is available as an iPhone web app; simply navigate to that link and bookmark it to your home screen.

Android

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.