rsmatrix

Crates.iorsmatrix
lib.rsrsmatrix
version0.2.0
sourcesrc
created_at2021-06-12 18:19:29.364256
updated_at2021-07-09 18:03:17.047529
descriptionTerminal `matrix` rain.
homepage
repositoryhttps://github.com/mov-rax-rbx/rsmatrix
max_upload_size
id409380
size10,566,921
(mov-rax-rbx)

documentation

README

rsmatrix

Rust

Terminal matrix rain.

Hot reloading config file config.rm

# all general properties (# - comment)

# file path to output parsing errors
# error_report_file :: "config_error.txt"
error_report_file :: nil

# speed range of individual rain
speed :: 1..3

# length range of individual rain
length :: 5..20

# rain color, can be either a tuple or a range of tuples
# color :: (0, 0, 0)..(0, 255, 0)
# color :: (255, 0, 0)..(128, 0, 128)
color :: (0, 200, 0)

# the color of the last character
# head_color :: (255, 0, 255)
head_color :: (255, 255, 255)

# the coefficient that determines the uniformity of interpolation of the color
# interpolate_color_koef :: 1.5
interpolate_color_koef :: nil

# minimum brightness for rain
# min_brightnes :: 0.1
min_brightnes :: nil

# rain factor
density :: 0.7

is_bold :: true
is_default_rain :: true

# rain update time delay in milliseconds
delay :: 16

# set utf8 symbols
utf8 :: true

How execute?

> git clone https://github.com/mov-rax-rbx/rmatrix.git
> cd rmatrix
> cargo r --release

Or

> cargo install rsmatrix

Dependecies

  • crossterm - cross-platform terminal manipulation library.
  • notify - cross-platform filesystem notification library.
  • rand - library for random number generation.
Commit count: 13

cargo fmt