I wrote a simple terminal program of Matrix digital rain. A part of the purpose of this program is to test the performance of terminal emulators. Another purpose is just for fun. Enjoy it with fast terminals (e.g., urxvt, alacritty, terminology, etc.)!
Features
- Hankaku kana characters as in the original film
- Ten levels of "green"s using terminal 256 color support
- Twinkling effects by adding random brightness fluctuations
- Diffused reflection effects by cell background colors
Scenes
The following scenes will be visited in turn. If you want to see the Mandelbrot set, you need to hold on for a few minutes.
- Number falls
- Banner - Show command line arguments by shining characters
- "The Matrix" rain - Wikipedia
- Conway's Game of Life - Wikipedia
- The Mandelbrot set - Wikipedia
- (End scene) "The Matrix" rain
- cxxmatrix in 80x28 - Youtube
- The Mandelbrot set in 479x186 - YouTube
- Highlight scenes - See the animated GIF below
This program is provided under the MIT License.
Requirements:
- git, C++17 compiler, GNU make, GNU awk
- UTF-8 support of the system
- a fast terminal with 256color and UTF-8 support
$ git clone https://github.com/akinomyoga/cxxmatrix.git
$ cd cxxmatrix
$ make
$ ./cxxmatrix 'The Matrix' 'Reloaded'
Quit: C-c; Suspend: C-z; Menu: RET, C-m
Options
Please check the help with the option --help
:
$ ./cxxmatrix --help
Related tags in GitHub
- abishekvashok/cmatrix - Demo in C (1124)
- will8211/unimatrix - Demo in Python3 (1010)
- M4444/TMatrix - Demo in C++ (202)
- GeertJohan/gomatrix - Youtube in Go (188)
- nojvek/matrix-rain - Demo in Node (58)
- torch2424/wasm-matrix - Demo in WASM (47)
- levithomason/cmatrix - Demo in C (44)
- jsbueno/terminal_matrix - Demo in Python (19)
- b166erobot/matrix in Python3 (16)
- amstrad/oh-my-matrix - Demo in Python (13)
- txstc55/matrix_viewer - Demo in C++ (11)
- JaydenL33/cmatrix2.0 in C (3)
- gurushida/matrixmirror - Demo in Objective-C (0)
- tidwall/digitalrain - Demo in HTML5 Canvas (314)
- winterbe/github-matrix - Demo in HTML5 Canvas (171)
- emilyxxie/green_rain - Demo in HTML5 Canvas (165)
- neilcarpenter/Matrix-code-rain - Demo in HTML5 Canvas (74)
- Rezmason/matrix - Demo in HTML5 Canvas (42)
- syropian/HTML5-Matrix-Code-Rain - Demo in HTML5 Canvas (29)
- raphaklaus/matrix-fx - Demo in CSS3 (14)
- lhartikk/BtcTxMatrix - Demo in HTML5 Canvas (13)
- pazdera/matrix-vr - Demo in WebVR (10)
- anderspitman/redpill - Demo in HTML5 Canvas (6)
- pmutua/Matrix-Rain - Demo in HTML5 Canvas (3)
- zhaihaoran/digital-rain - Demo in HTML5 Canvas (1)
- Workvictor/pixi-digital-rain - Demo in HTML5 Canvas (0)
- azder/ES2017-Matrix-Rain - Demo in HTML5 Canvas (0)
- codingotaku/7-Segment-Digital-Matrix-Rain - Demo in HTML5 Canvas (0)
- winterbe/github-matrix-screensaver (github-matrix/WebSaver?) in JavaScript (391)
- tremby/Kaleidoscope-LEDEffect-DigitalRain in Kaleidoscope? (20)
- nathanchere/MatrixSaver in C# (18)
- sapandang/Matrix-Rain-Live-Wallpaper in Android Wallpaper (13)
- artgl42/MatrixDigitalRain - Demo in C# (0)
- Sullivan008/CSharp-MatrixRain in C# (0)