Google maps added the feature to see the weather anywhere in the world. I thought it would be nice to see a real-time representation of the "blue marble" using this new data. I downloaded Google Data Arts Team WebGL Globe code and added a few functions.
It's using the new three.js PatchSphereGeometry and a bit of tweaking of its UV coords.
Weather forecast is very basic: it doesn't have all the possible weather conditions, and it doesn't take into account if it's day or night time.
Update (2026): Google's weather layer and weather API are long gone. The clouds are now yesterday's NASA GIBS VIIRS satellite imagery, rain is NASA's half-hourly IMERG precipitation, and current conditions and city search come from Open-Meteo.
Thanks to Mr.doob, Jull, Markus Fisch and Benoit Jacob.