10 releases

0.3.6 May 22, 2022
0.3.5 Feb 15, 2022
0.3.4 Apr 30, 2021
0.3.2 Mar 27, 2021
0.1.0 Feb 20, 2021

#909 in Command line utilities

Custom license

31KB
722 lines


GIF GIF
Rusty Rain

crates.io lastupdated GitHub repo size issuse Lines of Code License Discord Chat

A cross platform matrix rain terminal program that runs well and looks good.

To Use

Simply run the following command on windows/mac/linux:

git clone https://github.com/cowboy8625/rusty-rain.git
cd rusty-rain
cargo run --release

or to install:

cargo install rusty-rain

Exit

To exit just press ESC or Ctrl + C

Command Line Arguments

USAGE:
rusty-rain [FLAGS] [OPTIONS]

FLAGS:
-h, --help       Prints help information
-s, --shade      Set Rain shading to fade or stay constant
-V, --version    Prints version information

OPTIONS:
-c, --chars <characters>     Set what kind of characters are printed as rain.
                             OPTIONS:
                               all            - This shows most of the Character Groups all at once.
                               alphalow       - Lower Case Alphabet Characters
                               alphaup        - Upper Case Alphabet Characters
                               arrow          - Arrow Emojis or Fancy Characters
                               bin            - All Ones and Zeros
                               cards          - Playing Cards
                               clock          - 🕑
                               crab           - 🦀
                               dominosh       - 🀽
                               dominosv       - 🁫
                               earth          - 🌎
                               emojis         - This is just a bunch of random Emojis
                               jap            - Japanese Characters
                               large-letters  - Cool Looking Large Letters
                               moon           - 🌕
                               num            - Good ol fashion Numbers
                               numbered-balls - These are like pool balls
                               numbered-cubes - These are like the pool balls but just cubes
                               plants         - Plants of sorts
                               smile          - 😃
                               shapes         - Squares and Circles of a few colors
-C, --color <color>          Set color of Rain with color string name or tuple
                             OPTIONS:
                             white,
                               red,
                               blue,
                               green,
                               r,g,b
-d, --direction <direction>  Set the direction of the Rain.
                             Default is set to down/south
                             OPTIONS:
                               up, north,
                               down, south,
                               left, west,
                               right, east
-H, --head <head>            Set the color of the first char in Rain.
                             OPTIONS:
                               white,
                               red,
                               blue,
                               green,
                               r,g,b
-S, --speed <speed>          Set speed of rain MAX,MIN -S 200,400

Example

using cargo to run:

cargo run --release -- -C 0,139,139 -H 255,255,255 -c jap -s

after installing:

rusty-rain -C 0,139,139 -H 255,255,255 -c jap -s

Help

If you find any bugs or performance is not up to par please submit a issue so I can better improve the project.

Dependencies

~3MB
~52K SLoC