#animation #terminal #christmas #snowfall

app rsnow

A simple snowfall animation in Rust

2 releases

0.1.1 Dec 22, 2023
0.1.0 Dec 22, 2023

#1 in #christmas

MIT license

9KB
144 lines

GitHub Workflow Status GitHub repo size

rsnow

❄️❄️❄️🎄🎄🎄Merry Christmas!🎄🎄🎄❄️❄️❄️

May this Christmas season bring you closer to all those that you treasure in your heart. Have a Merry Christmas and a Happy New year!

Install

git clone https://github.com/wjwei-handsome/rsnow.git
cd rsnow
cargo build --release
./target/release/rsnow

or just

cargo install --git https://github.com/wjwei-handsome/rsnow.git

Usage

Just rsnow in your terminal.

Add -h or --help for help messages:

$ rsnow -h
Merry Christmas!

Usage: rsnow [OPTIONS]

Options:
  -s, --speed <SPEED>        Speed of snowfall [default: 1]
  -q, --quantity <QUANTITY>  Quantity of snowflakes [default: 20]
  -r, --rainbow              Bool, enabled rainbow color [default is false]
  -t, --randomtype           Bool, enabled random shape [default is false]
  -n, --notree               Bool, remove the Christmas tree [default is false]
  -h, --help                 Print help
  -V, --version              Print version

Enjoy it!

Dependencies

~2.4–9MB
~61K SLoC