menger(6)

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

πŸ’– menger β€” the 3D menger gasket fractal, bestie edition πŸ’–

okay so real quick, this is a page from the XScreenSaver manual, and it's all about menger β€” the screensaver that eats your GPU for breakfast, no cap.


✨ NAME ✨

menger β€” a 3D menger gasket fractal. that's the whole name, she's simple, she's iconic πŸ’…


🌸 SYNOPSIS 🌸

menger [--display host:display.screen] [--visual visual] [--window]
       [--root] [--window-id number] [--delay number] [--speed number] [--depth
       number] [--no-wander] [--no-spin] [--spin [XYZ]] [--wireframe] [--fps]

literally just run menger and it does the thing. the flags are optional, she's low maintenance 🫢


πŸ’œ DESCRIPTION πŸ’œ

so basically this draws the three-dimensional variant of the recursive Menger Gasket β€” which is this cube-based fractal object that's the vibes-equivalent of the Sierpinski Tetrahedron. like yes bestie, they're cousins 🧚✨

it's giving infinite cubes inside cubes inside cubes. main character energy fr fr.


πŸŽ€ OPTIONS πŸŽ€

  • --visual visual β€” pick which visual to use, bestie. legal values are the name of a visual class, or the id number (decimal or hex, we don't gatekeep) of a specific visual. slay πŸ’…
  • --window β€” draw on a newly-created window. this is the default, so if you do nothing, congrats, this is already what's happening ✨
  • --root β€” draw on the root window instead. very desktop-ambience of you.
  • --window-id number β€” draw on the specified window. you know exactly which one. go off πŸ‘‘
  • --delay number β€” per-frame delay, in microseconds. default: 30000 (that's 0.03 seconds. β€” yes there's a period at the end in the original, she's quirky like that πŸ’€).
  • --speed number β€” number of frames before changing shape. default: 150. she's a patient queen.
  • --depth number β€” max depth to descend. default: 3.
🚨 real talk: you probably don't have enough memory for 6. like. don't. your machine will simply pass away πŸ˜­πŸ’€
  • --wander | --no-wander β€” whether the object should wander around the screen. is it a wanderer or a homebody? your call πŸ¦‹
  • --spin [XYZ] β€” around which axes should the object spin? X, Y, Z, pick your fighter(s).
  • --no-spin β€” none. absolutely no spinning. stillness. zen mode 🧘
  • --wireframe β€” render in wireframe instead of solid. skinnier, crunchier, gorgeous.
  • --fps β€” display the current frame rate, CPU load, and polygon count. numbers go brrr πŸ“ˆπŸ”₯

🌈 ENVIRONMENT 🌈

  • DISPLAY β€” to get the default host and display number. classic.
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. iykyk πŸ’…
  • XSCREENSAVER_WINDOW β€” the window ID to use with --root.

πŸ¦‹ SEE ALSO πŸ¦‹

X(1), xscreensaver(1) β€” go read those too, bestie, they're the whole ecosystem 🌸


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

(translation: go wild, just keep the notice, and don't come for her if something breaks πŸ™ˆ)


πŸ‘‘ AUTHOR πŸ‘‘

Jamie Zawinski. an absolute legend, fr fr πŸ”₯


okay that's the whole page!! this lil beauty is from X Version 11, ships as part of XScreenSaver 6.15, dated 30-Mar-2026 β€” and it's the menger(6) page, mwah πŸ’‹βœ¨ go make some cubes, bestie πŸŽ€πŸ’–

πŸ“¦ where this page comes from