#text-document #matrix #screensaver #character-set #output #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

#8 in #screensaver

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–6MB
~30K SLoC