xmatrix(6x)

๐Ÿ’– xmatrix(6x): digital rain, but make it bestie ๐Ÿ’–

okay so this is xmatrix(6x), straight out of the XScreenSaver manual, and it's literally the "digital rain" simulator. we're gonna get you comfy with every single flag, no cap. ๐Ÿ’…โœจ

โœจ NAME โœจ

xmatrix โ€” simulates the computer displays from the movie. periodt. ๐ŸŽ€

๐ŸŒ€ SYNOPSIS ๐ŸŒ€

xmatrix [--display host:display.screen] [--window] [--root] [--window-id
number][--install] [--visual visual] [--delay usecs] [--density
percentage] [--top | --bottom | --both] [--small | --large] [--trace]
[--mode mode] [--phone number] [--fps]

๐Ÿ’š DESCRIPTION ๐Ÿ’š

The xmatrix program draws the 2D "digital rain" effect, as seen on the computer monitors in the 1999 film, "The Matrix". iconic behavior, honestly. ๐ŸŒˆ

Also see glmatrix(6x) for a 3D rendering of the similar effect that appeared in the title sequence of the movie. both slay, different vibes. ๐Ÿฆ‹

๐Ÿ’… OPTIONS ๐Ÿ’…

xmatrix accepts the following options, bestie:

  • --window โ€” draw on a newly-created window. this is the default. ๐ŸชŸ
  • --root โ€” draw on the root window. ๐ŸŒณ
  • --window-id number โ€” draw on the specified window. ๐Ÿชž
  • --install โ€” install a private colormap for the window. ๐ŸŽจ
  • --visual visual โ€” specify which visual to use. legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. ๐Ÿ‘€
  • --delay usecs โ€” the delay between steps of the animation, in microseconds: default 10000. โฑ๏ธ
  • --density percentage โ€” the approximate percentage of the screen that should be filled with characters at any given time. default 75%. ๐Ÿซง
    • when running in a window, typing + will increase the density and typing - will decrease it. typing 0 will momentarily drain the screen. ๐Ÿ’ง
  • --top | --bottom | --both โ€” if --top is specified, the characters will only drop in from the top of the screen as sliding columns of characters. if --bottom is specified, then instead of sliding columns, the characters will appear as columns that grow downwards and are erased from above. if --both is specified, then a mixture of both styles will be used. the default is --both. ๐Ÿงš
    • when running in a window, typing [ will switch to top-mode, typing ] will switch to bottom-mode, and typing \ will switch to both-mode. โŒจ๏ธ
  • --small | --large โ€” these options specify the sizes of the characters. the default is --large. ๐Ÿ˜
  • --mode trace โ€” start off with a representation of a phone number being traced. when the number is finally found, display The Matrix as usual. this is the default. โ˜Ž๏ธ
  • --phone number โ€” the phone number to trace, if --trace is specified. ๐Ÿ“ž
  • --mode crack โ€” start off by shutting down the power grid. โšก
  • --mode binary โ€” instead of displaying Matrix glyphs, only display ones and zeros. ๐Ÿ”ข
  • --mode hexadecimal โ€” instead of displaying Matrix glyphs, display hexadecimal digits. ๐Ÿงฎ
  • --mode dna โ€” instead of displaying Matrix glyphs, display genetic code (guanine, adenine, thymine, and cytosine.) ๐Ÿงฌ
  • --mode ascii โ€” instead of displaying Matrix glyphs, display random ASCII characters. ๐Ÿ”ค
  • --mode pipe โ€” instead of displaying random characters, display the output of a subprocess, as ASCII. ๐Ÿชˆ
  • --program sh-command โ€” the command to run to generate the text to display. this option may be any string acceptable to /bin/sh. the program will be run at the end of a pty or pipe, and any characters that it prints to stdout will be placed in the feeders for xmatrix. if the program exits, it will be launched again after xmatrix has processed all the text it produced. ๐Ÿ› ๏ธ

For example:

xmatrix -program 'echo Hello World'
xmatrix -ascii -program 'ps -eo comm | rev'
xmatrix -program 'od -txC -w6 /dev/random'
xmatrix -program 'cat /dev/random'

๐ŸŒˆ ENVIRONMENT ๐ŸŒˆ

  • DISPLAY โ€” to get the default host and display number. ๐Ÿ–ฅ๏ธ
  • XENVIRONMENT โ€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. ๐Ÿ“
  • XSCREENSAVER_WINDOW โ€” the window ID to use with --root. ๐ŸชŸ

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

Copyright ยฉ 1999-2018 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. ๐Ÿ“œ

๐Ÿซถ AUTHOR ๐Ÿซถ

Jamie Zawinski <jwz@jwz.org>, 25-Apr-99. ๐Ÿ’Œ


mwah ๐Ÿ’‹ that's the whole page: source/version is X Version 11, 6.09 dated 07-Jun-2024, and the manual is xmatrix(6x). go make some digital rain, bestie. ๐ŸŒง๏ธ๐Ÿ’–

๐Ÿ“ฆ where this page comes from