rusty-rain

Crates.iorusty-rain
lib.rsrusty-rain
version0.3.7
sourcesrc
created_at2021-02-20 14:47:11.87581
updated_at2024-09-22 15:13:17.93266
descriptionA cross platform CMatrix like program.
homepagehttps://rusty-rain.xyz
repositoryhttps://github.com/cowboy8625/rusty-rain
max_upload_size
id358051
size65,432
Cowboy8625 (cowboy8625)

documentation

README


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
                               alphanum       - All Alphabets and Numbers
                               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.

Star History

Star History Chart
Commit count: 112

cargo fmt