← 返回命令列表

Linux command

unimatrix 命令

趣味

复制后可按需替换文件名、目录或参数。

常用示例

Start Matrix rain

unimatrix

Custom speed

unimatrix -s [90]

Color

unimatrix -c [green]

Asynchronous scroll

unimatrix -a

Bold characters

unimatrix -b

Specific character set

unimatrix -u "[abc123]"

说明

unimatrix is a Python script that simulates the iconic falling character rain effect from the Matrix films directly in the terminal. It displays columns of characters scrolling downward at varying speeds, creating the distinctive green-on-black cascading effect. The animation is highly customizable, with options to control scroll speed, color, character boldness, and the character set used for the falling streams. It supports a wide range of Unicode characters including Latin, Greek, Cyrillic, and CJK scripts, allowing for varied visual effects beyond the traditional katakana characters. unimatrix can be used as a screensaver, terminal decoration, or simply for entertainment. It supports asynchronous scrolling where each column moves independently, creating a more organic visual effect similar to the films.

参数

-s _SPEED_
Scroll speed, 0-100 (default 85).
-c _COLOR_
Foreground color (green, red, blue, white, yellow, cyan, magenta, black).
-a
Asynchronous scrolling where each column moves independently.
-b
Use only bold characters.
-f
Enable flashing characters.
-n
Disable bold characters.
-u _CHARS_
Use a custom character set.
-l _PRESETS_
Use preset character groups (e.g. S=symbols, k=katakana, l=letters, n=numbers, c=Cyrillic).

FAQ

What is the unimatrix command used for?

unimatrix is a Python script that simulates the iconic falling character rain effect from the Matrix films directly in the terminal. It displays columns of characters scrolling downward at varying speeds, creating the distinctive green-on-black cascading effect. The animation is highly customizable, with options to control scroll speed, color, character boldness, and the character set used for the falling streams. It supports a wide range of Unicode characters including Latin, Greek, Cyrillic, and CJK scripts, allowing for varied visual effects beyond the traditional katakana characters. unimatrix can be used as a screensaver, terminal decoration, or simply for entertainment. It supports asynchronous scrolling where each column moves independently, creating a more organic visual effect similar to the films.

How do I run a basic unimatrix example?

Run `unimatrix` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s _SPEED_ do in unimatrix?

Scroll speed, 0-100 (default 85).