Every hour my server is running a php script that grabs my current google latitude position and uses that position to gather information about local weather conditions. That script then writes to a flash variable file.
This page loads an image generated on-the-fly to determine sunrise and sunset times for my position. The image then puts the sun in its current vertical position based on the current time. At night the script pulls an image showing the current moon phase and puts that on the night sky background.
This page additionally has a flash clouds layer which uses the data provided by the first script to dynamically generate clouds in the sky based on my current weather conditions. It makes the clouds move at a random speed with the maximum being the current windspeed as provided by the data file. The direction of the clouds is based on the current wind direction.
Because I can! :)
This application will eventually be a background for a banner for my personal blog. The banner will also include my twitter status, current city/state and show my yahoo messenger online status indicator. I also plan on making real-time precipitation (still need snow) based on current weather conditions and a "Haze layer" to make the sky more realistic during rain and snow etc. I also need to control the sunrise/sunset better and add a better glow across it. The dynamic nature of this application will allow me to add in additional graphics and animation for special occassions or random imagery whenever i want.
Weather Underground APIs
Google Latitude API
PHP
Flash ActionScript