Cli application to simulate the falling glyphs from "The Matrix" in your terminal (forked from rustmatrix).
shell
cargo install termatrix
shell
pkgin install termatrix
```shell $ termatrix --help termatrix
USAGE: termatrix [OPTIONS]
OPTIONS:
-c, --colors
-d, --min-step-delay <MIN_STEP_DELAY>
Minimum value of trace (column) scroll delay in milliseconds. [env:
TERMATRIX_MIN_STEP_DELAY=] [default: 40]
-D, --max-step-delay <MAX_STEP_DELAY>
Maximum value of trace (column) scroll delay in milliseconds. [env:
TERMATRIX_MAX_STEP_DELAY=] [default: 120]
-f, --update-frequency <UPDATE_FREQUENCY>
Refresh rate (in Hz) for terminal updates. [env: TERMATRIX_UPDATE_FREQUENCY=] [default:
60]
-h, --help
Print help information
```
Defaults to green glyphs:
termatrix
You can select a combination of colors via the --colors/-c option:
termatrix -c rgbcmy
Or via the TERMATRIX_COLORS
environment variable:
TERMATRIX_COLORS=rgbcmy termtarix
Step delay is a minimum duration between updates to a trace (vertial cluster of glyphs). The step delay for each trace is a randomly selected duration between the -min-step-delay
and the --max-step-delay
.
The variation in step delays results in faster traces passing slower traces. If --min-step-delay
and --max-step-delay
are the same, all traces will move at the same rate.