在Linux中实现黑客帝国的效果
程序员文章站
2022-08-10 11:44:25
今天在发现了这么个有趣的东西分享给大家,我们需要一个叫cmatrix的小程序,下面写出步骤 1 :依赖环境 yum -y install gcc ncurses-devel 2 :下载程序 wget https://birdteam.net/wp-content/uploads/2017/08/20 ......
今天在发现了这么个有趣的东西分享给大家,我们需要一个叫cmatrix的小程序,下面写出步骤
1 :依赖环境 yum -y install gcc ncurses-devel
2 :下载程序 wget https://birdteam.net/wp-content/uploads/2017/08/2017082504005367.zip
3 :解压程序 unzip 2017082504005367.zip
4:进入目录 cd cmatrix-master/
5:编译安装 ./configure && make && make install
6:使用效果 cmatrix -b
实现的效果应该是这样的
更换颜色:cmatrix -b -c red or blue or yellow 就是红蓝黄啦
在运行状态下,按数字0-9可以改变滚动的速度哦!另外退出用ctrl+c。