moobsen / cxxmatrix

C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Matrix in terminal

I wrote a simple terminal program of Matrix digital rain.

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
  • Diffused reflection effects by cell background colors

Scenes

  • Number falls
  • Banner - Show command line arguments by shining characters
  • "The Matrix" rain - Wikipedia
  • Conway's Game of Life - Wikipedia
  • Mandelbrot set - Wikipedia

Demo

  • cxxmatrix in 80x28 - Youtube
  • Mandelbrot set in 479x186 - YouTube
  • Highlight scenes - See the animated GIF below

Captures

Usage

Requirements: git, C++17 compiler, GNU make, a terminal with 256color support

$ git clone git@github.com:akinomyoga/cxxmatrix.git
$ cd cxxmatrix
$ make
$ ./cxxmatrix 'The Matrix' 'Reloaded'

Quit: C-c, Suspend: C-z

Similar programs

The Matrix rains in terminals

The Matrix rains in browsers

Others

About

C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)


Languages

Language:C++ 96.2%Language:Awk 2.8%Language:Makefile 1.0%