#color-space #terminal #emoji #unicode #escaping #transformation #cubehelix

bin+lib lcat

Another lolcat in rust! Full unicode support, escapes for ANSI escape sequences, hue shift in Cubehelix

24 releases

0.7.13 Aug 23, 2023
0.7.12 Jun 23, 2023
0.7.11 Sep 14, 2022
0.7.10 May 30, 2022
0.3.2 Jul 12, 2020

#434 in Text processing

37 downloads per month
Used in 2 crates

MIT/Apache

25KB
599 lines

lcat

lolcat in rust! With emoji support and color transformations in the Cubehelix and OkHSV color space.

Usage

lcat
Terminal rainbows.

USAGE:
    lcat [FLAGS] [OPTIONS] [File]...

ARGS:
    <File>...    [default: -]

FLAGS:
    -h, --help                    Prints help information
    -i, --invert                  Invert background and foreground
    -n, --shift-sign-no-random    Don't randomize sign of col and row shift values
    -V, --version                 Prints version information

OPTIONS:
    -H, --hue <hue>                Sets initial hue of text color in degress [default: random]
    -S, --seed <seed>              Sets seed [default: random]
    -C, --shift-col <shift-col>    How many degrees to shift text color hue for every column [default: 1.6]
    -R, --shift-row <shift-row>    How many degrees to shift text color hue for every row [default: 3.2]
    -s, --style <style>            Rainbow mode [default: rainbow] [possible values: rainbow, sinebow, ok-hsv]

Screenshot

a demo screenshot of lcat in action

Dependencies

~4–15MB
~173K SLoC