Crates.io | rsmatrix |
lib.rs | rsmatrix |
version | 0.2.0 |
source | src |
created_at | 2021-06-12 18:19:29.364256 |
updated_at | 2021-07-09 18:03:17.047529 |
description | Terminal `matrix` rain. |
homepage | |
repository | https://github.com/mov-rax-rbx/rsmatrix |
max_upload_size | |
id | 409380 |
size | 10,566,921 |
Terminal matrix
rain.
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
> git clone https://github.com/mov-rax-rbx/rmatrix.git
> cd rmatrix
> cargo r --release
> cargo install rsmatrix