| Crates.io | rustrix-term |
| lib.rs | rustrix-term |
| version | 0.1.0 |
| created_at | 2025-09-21 01:02:55.978657+00 |
| updated_at | 2025-09-21 01:02:55.978657+00 |
| description | Terminal animation that brings the iconic 'digital rain' effect from The Matrix Movie to your command line |
| homepage | |
| repository | https://github.com/hugomf/rustrix-term |
| max_upload_size | |
| id | 1848342 |
| size | 2,148,759 |
A highly performant and customizable terminal animation that simulates the iconic "digital rain" effect from The Matrix. Built in Rust, this application leverages the crossterm and tokio libraries to create a smooth, responsive, and resource-efficient visual experience that reacts in real-time to terminal resizing and user input.
This code is based on Matrix Animation golang version, see HuGoRain

tokio runtime, ensuring a non-blocking and highly responsive animation loop.Clone the repository:
git clone https://github.com/hugomf/rustrix.git
cd rustrix
Run the application:
cargo run --release
Note: Using --release is highly recommended for optimal performance.
You can customize the animation using the following flags. Use --list to see all available options.
--color <NAME>
green (default), amber, red, orange, blue, purple, cyan, pink, white.cargo run -- --color blue--chars <NAME>
matrix (default), binary, symbols, emojis, kanji, greek, cyrillic.cargo run -- --chars emojis--speed <VALUE>
5.0.cargo run -- --speed 20.0 (insanely fast)--density <VALUE>
0.7.cargo run -- --density 1.5 (heavy density)--background-color <R,G,B>
cargo run -- --background-color 0,0,0 (black)--list
cargo run -- --list# Run with a fast, purple-colored binary drop
cargo run --release -- --color purple --chars binary --speed 10.0
# Run with a heavy density of Kanji characters
cargo run --release -- --chars kanji --density 1.2