Skip to content

lorossi/shell-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Matrix

Matrix 4 is coming out soon. YAY! Even tho I'm going to hate that movie, I have (finally) managed to replicate the old feeling of looking at the Matrix to take a look at what our hero Neo is up to.

How to use

Simply download the file from here, or clone the repo. Or scan the QR code. It's so small that it fits there!

scan this qr to get the code!

Then, navigate into the folder containing the file and run it from the shell, using the command ./matrix.sh.

The script requires bc to be installed. The full version of the script checks for the presence of the program, and if not found it refuses to run until it is installed.

How does it work?

The characters are printed around thanks to the ANSI escape codes (more on that here). They are simply Japanese UTF-8 Hiragana.

I have also made a compressed (by hand!) version. It handles correctly the SIGINT routine and has the same features of the matrix.sh script. It is 673 bytes (!) big.

Credits

This project is distributed under Attribution 4.0 International (CC BY 4.0) license.