#text-document #matrix #character-set #output #screensaver #terminal #display

bin+lib tomatrix

Make any text document output a matrix screensaver

2 releases

0.1.1 Apr 26, 2024
0.1.0 Apr 26, 2024

#3 in #screensaver

Download history 291/week @ 2024-04-22 23/week @ 2024-04-29

314 downloads per month

MIT license

2MB
145 lines

Matrix any text document

Turns it into a full screen display that'll make you say "whoa."

Usage

Pipe content to stdin and close it, and the saver will start.

e.g., cargo run < src/lib.rs. Play with the character sets to influence the output, e.g., /usr/share/dict/words vs some code.

cargo install tomatrix to install this.

This one is fun: head -c 1000000 /dev/urandom | perl -pe 's/\P{Word}//g' | tomatrix

Press Control+C to exit.

Example

Author

The Professional erik@hollensbe.org

Dependencies

~1.3–6.5MB
~29K SLoC