SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
                              WeatherSpect v1.6
                    by Kirk Baucom <kbaucom@schizoid.com>
                          http://www.robobunny.com

WeatherSpect provides a reasonably accurate simulation of what the weather looks like outside, in ASCII art. It includes rain, snow, lightning, sleet, and hail. 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 follow the actual sun and moonrise. There's also a dancing turtle.

Installation

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.

Requirements

You must have the Term::Animation and Weather::Underground modules, which you can get from http://www.cpan.org. The Term::Animation module also requires the Curses module, which you can also get from CPAN.

Contributors

Kevin Ferree (http://chavo-one.com):

ASCII art for: trees, clouds, pacman, chicken, turtle, rabbit and bird

Hayley Wakenshaw (http://www.bornsquishy.com/flump/index.html):

Original versions of ASCII art for: elephant, snail, cars, ducks and rabbit

Usage

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>]
       weatherspect -h

        -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:

        q       Quit
        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.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.