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.
Simply download the file from here, or clone the repo. Or scan the QR code. It's so small that it fits there!
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.
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.
This project is distributed under Attribution 4.0 International (CC BY 4.0) license.