10 个版本
0.3.6 | 2022年5月22日 |
---|---|
0.3.5 | 2022年2月15日 |
0.3.4 | 2021年4月30日 |
0.3.2 | 2021年3月27日 |
0.1.0 | 2021年2月20日 |
#1115 在 命令行工具
31KB
722 代码行
Rusty Rain
一个运行良好且外观美观的跨平台矩阵雨终端程序。
使用方法
在 windows/mac/linux 上只需运行以下命令
git clone https://github.com/cowboy8625/rusty-rain.git
cd rusty-rain
cargo run --release
或安装
cargo install rusty-rain
退出
要退出,请按 ESC
或 Ctrl + C
命令行参数
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
示例
使用 cargo 运行
cargorun --release ---C 0,139,139 -H 255,255,255 -c jap -s
安装后
rusty-rain-C0,139,139 -H255,255,255 -c jap-s
帮助
如果您发现任何错误或性能不符合要求,请提交问题,以便我更好地改进项目。
依赖关系
~3.5MB
~53K SLoC