A reasonably accurate simulation of what the weather looks like outside
The windspeed and cloudiness are reflected in the velocity and quantity of clouds. There are trees that age, reproduce and die over the course of an hour, and a sun and moon that slowly cross the sky for 12 hours each. There's also a dancing turtle.
WeatherSpect is a single perl script, so all you have to do is make sure it's executable and put it somewhere convenient, like /usr/local/bin or /usr/local/games.
Before weatherspect will work, you have to create a config file for it. Running it with the -c option will prompt you for info to create a config file in ~/.weatherspect.
weatherspect [-f < config_file >]
weatherspect -c [-f < config file >]
-h Print this help message
-f < file > Supply a config file to use instead of the default
-c Generate a config file
While weatherspect is running, the following commands are available:
u Force an update of weather data
r Redraw. Note that this will remove all objects and recreate them, probably in
different places. It is intended to be used after resizing the screen.
In a hurry? Add it to your Download Basket!
What's New in This Release:
- Included a modified copy of Weather::Underground, since the published version no longer works.
- Better error handling of malformed weather data
- Automatically redraw the scene when the window has been resized
- Added a turkey dodging falling pumpkins for thanksgiving