grav(6x)
β¨ grav(6x) β the XScreenSaver manual, bestie edition β¨
okay so you found the grav(6x) page in the XScreenSaver manual and you're like "what is this" β don't worry, I gotchu π
πΈ NAME πΈ
grav β it draws a simple orbital simulation. that's it. that's the whole vibe. πͺβ¨
π¦ SYNOPSIS π¦
grav [--display host:display.screen] [--foreground color] [--background
color] [--window] [--root] [--window-id number][--mono] [--install]
[--visual visual] [--ncolors integer] [--delay microseconds] [--count
integer] [--decay] [--no-decay] [--trail] [--no-trail]
[--fps]
like yes, that's a lot of brackets, but they're all optional bestie, breathe π
π« DESCRIPTION π«
The grav program draws a simple orbital simulation.
that's literally the whole description. short king energy. π but honestly? it's giving "the code speaks for itself" and honestly it ate. π
π OPTIONS π
grav accepts the following options:
--windowβ draws on a newly-created window. this is the default, so if you do nothing, congrats, you already picked this one π«Ά--rootβ draws on the root window. main character energy, it's on everything β¨--window-id numberβ draws on the specified window. you pick, you choose, you slay π--monoβ if you're on a color display, this makes it pretend we're on a monochrome display. delulu but make it retro π€π€--installβ installs a private colormap for the window. fancy π©--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. hex? decimal? both valid, we love a flexible icon π₯--ncolors integerβ how many colors should be used (if possible). default64. and the colors are chosen randomly, so it's a lil surprise every time π¨π--count integerβ default12. twelve lil orbiters. a dozen. a baker's dozen minus one π--decay--no-decayβ whether orbits should decay. yes this is a real toggle, no cap π--trail--no-trailβ whether the objects should leave trails behind them (makes it look vaguely like a cloud-chamber). lowkey iconic, highkey physics-core π§ββοΈπ¨--fpsβ display the current frame rate and CPU load. numbers go brrr π
ok quick heads up β the way this page is laid out,--decay/--no-decayare listed as a pair, and--trail/--no-trailare listed as a pair, with the description sitting under the second one. that's just how the original rolls, not me being chaotic π
πΊ ENVIRONMENT πΊ
DISPLAYβ to get the default host and display number. the classic. the OG. iykyk π₯οΈXENVIRONMENTβ to get the name of a resource file that overrides the global resources stored in theRESOURCE_MANAGERproperty. say that five times fast, i dare you πXSCREENSAVER_WINDOWβ the window ID to use with--root. pairing them up like they're meant to be π«Ά
π SEE ALSO π
X(1), xscreensaver(1), xlock(1)
the holy trinity of "your screen is doing something and you should know why" fr fr π
π COPYRIGHT π
Copyright Β© 1993 by Greg Bowering.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
tl;dr: go off, just keep the notice in there. respect the paperwork bestie ππ
π§ AUTHOR π§
Greg Bowering <gb@pobox.com>, 1993.
Ability to run standalone or with xscreensaver added by Jamie Zawinski <jwz@jwz.org>, 10-May-97.
shoutout to the 90s devs, they were really out here building orbiting dots before it was cool π°οΈπ«
and that's the whole page!! we made it πβ¨
sign-off time π this little beauty is X Version 11, version 6.09 (07-Jun-2024) β screenshot it, cite it, obsess over it, periodt π π
π¦ where this page comes from
- debian trixie: xscreensaver-data-extra 6.09+dfsg1-1 Β· Other_1
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- opensuse-leap 16.0: xscreensaver-data-extra 6.09-bp160.1.11 Β· BSD-3-Clause AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms