glhanoi(6)
π« glhanoi β the OpenGL Towers of Hanoi situation
okay so this is a page from the XScreenSaver manual, and bestie, it's about the Towers of Hanoi but make it OpenGL. yes, that classic recursion puzzle, now with β¨renderingβ¨. let's get into it.
πΈ SYNOPSIS πΈ
[--root] [--window-id number] [--delay number] [--count number] [--poles
number] [--speed number] [--wireframe] [--light] [--texture] [--fog]
[--fps]
that's the whole invocation, no cap. (heads up: --display shows up here in the synopsis, and the options list below is exactly what the page spells out β i'm not gonna make stuff up about it, iykyk.)
π DESCRIPTION π
it's a Towers of Hanoi implementation, and it's in OpenGL. that's literally the whole description. iconic brevity, honestly. π
β¨ OPTIONS β¨
--visualvisual β picks which visual you want. legal values are either the name of a visual class, or the id number of a specific visual (decimal or hex, your call π«Ά).--windowβ draws on a brand-new window that just got created. this is the default, so it's giving main character energy by default.--rootβ draws on the root window instead.--window-idnumber β draws on the window you point at with that number.--delaynumber β the per-frame delay, measured in microseconds. default is30000(that's0.03seconds, for the people keeping score β±οΈ).--countnumber β how many disks. default:7.--polesnumber β how many poles. default: random from3todisks+1β so yes, it vibes and picks for you π².--speednumber β speed multiplier, and it applies to the smallest disks. default:1.--trailsnumber β the length of the disk trails, in seconds. default:2.--wireframe | --no-wireframeβ render in wireframe instead of solid. wires only, no chunks.--fog | --no-fogβ render in fog. spooky lil atmosphere, optional.--fpsβ shows you the current frame rate, the CPU load, and the polygon count. numbers go brrr π.--light | -no-lightβ whether the scene is lit. (that second one is written-no-lighton the page, one dash, don't come for me, i'm just the messenger π)--texture | --no-textureβ render with textures instead of solid.
π¦ ENVIRONMENT π¦
DISPLAYβ used to get the default host and display number.XENVIRONMENTβ used to get the name of a resource file that overrides the global resources stored in theRESOURCE_MANAGERproperty.XSCREENSAVER_WINDOWβ the window ID to use with--root.
π SEE ALSO π
X(1), xscreensaver(1)
like, go read those too, they're the supporting cast π
π COPYRIGHT π
Copyright Β© 2004 by Dave Atkinson.
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, "as is", no warranty, no promises β that's the deal π
β AUTHOR β
Dave Atkinson. king behavior π
and that's the whole page, bestie!! this came from X Version 11, version 6.15 (30-Mar-2026) β go forth and stack those disks πππ¦
π¦ where this page comes from
- alpine 3.24: xscreensaver-doc 6.15-r0 Β· GPL-2.0-or-later GPL-3.0-or-later 0BSD MIT
- arch rolling: xscreensaver 6.15-1 Β· LicenseRef-XScreenSaver
- nixpkgs unstable: xscreensaver 6.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms