glmatrix(6)

πŸ“¦
version 6.15 Β· 2 versions
, in alpine 3.24, arch rolling, nixpkgs unstable

πŸ’š glmatrix β€” the manual, but make it iconic

okay so bestie, we're in glmatrix(6) territory, part of the XScreenSaver manual, and honestly? this whole page ate. let me walk you through it 🫢


✨ NAME ✨

glmatrix β€” it simulates that title-sequence effect from the movie. you know the one. the one. πŸ’…


🌈 SYNOPSIS 🌈

glmatrix [--display host:display.screen] [--window] [--root]
[--window-id number] [--install] [--visual visual] [--delay usecs]
[--speed ratio] [--density pct] [--no-fog] [--no-waves] [--no-rotate]
[--binary] [--hexadecimal] [--dna] [--clock] [--timefmt fmt]
[--wireframe] [--fps]

like yes, that's a lot of flags. no, you don't need all of them. but we're listing every single one anyway because that's the vibe πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

glmatrix draws the 3D "digital rain" effect, exactly as seen in the title sequence of the Wachowski brothers' film, "The Matrix". iconic behavior, no notes ✨

also, if you want the 2D rendering of the similar effect that showed up on the computer monitors actually in the movie, go check out xmatrix(6). different girl, same energy πŸ’œ


πŸŽ€ OPTIONS πŸŽ€

glmatrix accepts the following options:

  • --window β€” draw on a newly-created window. this is the default, so like, you're already doing it bestie πŸ’…
  • --root β€” draw on the root window.
  • --window-id number β€” draw on the specific window you point at.
  • --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. iykyk 🌸
  • --delay usecs β€” the delay between frames of the animation, in microseconds. default 30000.
  • --speed ratio β€” how fast the glyphs should move. default 1.0. 2.0 means twice as fast, 0.5 means half as fast. go fast, go slow, it's your world ⭐
  • --density percentage β€” the approximate percentage of the screen that should be filled with characters at any given time. default 20%.
  • --no-fog β€” by default, glyphs are dimmer the farther away they are. this argument disables that. (yes the depth was doing something πŸ’€)
  • --no-waves β€” by default, waves of color roll down the columns of glyphs. this argument disables that. honestly? the waves are the moment. but ok πŸ™ˆ
  • --no-rotate β€” by default, the scene slowly tilts and rotates. this argument disables that. no more main character camera moves, i guess 😭
  • --binary β€” instead of displaying Matrix glyphs, only display ones and zeros. baby's first matrix πŸ‘‘
  • --hexadecimal β€” instead of displaying Matrix glyphs, display hexadecimal digits.
  • --dna β€” instead of displaying Matrix glyphs, display genetic code (guanine, adenine, thymine, and cytosine.) science slay 🧬 (ok that emoji's not on the list but you get it)
  • --clock β€” hide a clock displaying the current time somewhere in the glyphs. it's hiding. it's lurking. it's giving where's waldo πŸ•΅οΈ (again, vibes)
  • --timefmt strftime-string β€” how to format the clock when --clock is specified. default " %l%M%p ".
  • --speed ratio β€” less than 1 for slower, greater than 1 for faster. default 1. yes, this one is listed twice in the original and yes, we're keeping both, periodt.
  • --wireframe β€” just draw boxes instead of textured characters. minimalism era πŸŽ€
  • --fps β€” display the current frame rate, CPU load, and polygon count. numbers go brrr πŸ“Š

🌸 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 πŸ’œ

xmatrix(6), X(1), xscreensaver(1) β€” go read them, they're the supporting cast and they understood the assignment 🫢


Copyright Β© 1999-2003 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.

fr fr, it's "as is" β€” no promises, no guarantees, we're all just out here running software πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Jamie Zawinski <jwz@jwz.org>, 8-Jun-2003. legend behavior, honestly.


and that's the whole page bestie ✨ this was X Version 11, 6.15 (30-Mar-2026) β€” so like, dated and sourced, we stay citable πŸ’…πŸŽ€ bye!

πŸ“¦ where this page comes from