Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pipeseroni/snakes.pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

snakes.pl

Snake.pl is a small perl script that emulates the classic "pipes" screensaver in a terminal window.

Usage

Snake.pl ought to run on perl 5.8 and beyond with no prerequisites.

To get help, run snake.pl -h to see the following output:

Usage:
 snake.pl [OPTIONS]
 Options:
 -p, --pipes=N Number of pipes. (Default: 1 )
 -f, --fps=N Frames per second. (Default: 75 )
 -a, --ascii ASCII mode. (Default: no )
 -l, --length=N Minimum length of pipe. (Default: 2 )
 -r, --prob=N Probability of chaning direction. (Default: 0.1)
 -h, --help This help message.
Arguments:
 -p, --pipes=*integer*
 Number of pipes. A large number of pipes will probably slow things
 down a bit. Default 1.
 -f, --fps=*integer*
 Frames per second. This will be kept to as well as possible. Default
 75.
 -a, --ascii
 Use ASCII rather than unicode. This'll probably look pretty bad.
 -l, --length=*integer*
 Minimum length of a pipe, measured in characters.
 -r, --prob=*float*
 Probability of a pipe changing direction per time step.
 -h, --help
 Display this help message.

Bugs

Please report any bugs using the Github issue tracker.

About

Pipes-like terminal screensaver implemented in perl.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /