twang(6x)
β¨ twang(6x) β¨
okay so bestie, welcome to twang β it's living in the XScreenSaver manual section (6x) and it is literally the most satisfying lil toy. Let me tell you everything π
π NAME π
twang β pluck pieces of the screen. yeah. that's the whole vibe. it takes your screen, chops it up, and twangs it π«Ά
πΈ SYNOPSIS πΈ
twang [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number] [--mono] [--install] [--visual visual] [--shm] [--no-shm] [--delay usecs] [--duration secs] [--border-color color] [--border-width integer] [--event-chance fraction] [--friction fraction] [--springiness fraction] [--tile-size integer] [--transference fraction] [--fps]
look at all those flags, she's thriving β¨
π¦ DESCRIPTION π¦
so here's the tea: twang divides the screen into equal-sized tiles, and then plucks them in various ways. that's it, that's the whole thing, and honestly? iconic.
the tiles are affected by their neighbors, so waves of motion flow through the grid π like a whole little physics girlie doing her thing. main character energy fr fr.
this manpage describes v1.3 of the program, just so you know exactly which version you're dealing with π
π OPTIONS π
twang accepts the following options, and yes, we're going through ALL of them, no skips:
--windowβ draw on a newly-created window. this is the default, bestie, so if you don't say anything, this is what you get π--rootβ draw on the root window.--window-id numberβ draw on the specified window. you pick the window, she draws on it π--monoβ if you're on a color display, pretend we're on a monochrome display. delulu but make it retro π--installβ install a private colormap for the window.--visual visualβ which visual to use. legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. pick your fighter β¨--shm,--no-shmβ use the shared memory extension (or not, respectively), if available. this may speed things up a bit, but probably won't make that much difference. if available, defaults to true, resourceuseSHMπ (she said "probably won't make that much difference" and honestly that's so real of her)--delay microsecondsβ the interframe delay, in microseconds. defaults to10000, resourcedelay.--duration secondsβ how long to run before loading a new image. default 120 seconds β°--border-color colorβ color of the border surrounding each tile. defaults to blue, resourceborderColorπ--border-width integerβ width of the border surrounding each tile. defaults to 3, resourceborderWidth.--event-chance fractionβ the chance, per iteration, for an event to occur (such as tweaking the orientation of a tile), in the range 0..1. defaults to 0.01, resourceeventChanceπ²--friction fractionβ how much friction there is in the system, in the range 0..1. this is the amount by which velocities are damped per iteration. defaults to 0.05, resourcefriction. slowing her down, respectfully π§--springiness fractionβ how springy the tiles are, in the range 0..1. this is the fraction of an orientation that gets turned into a velocity towards the center (resting point). defaults to 0.1, resourcespringinessπΈ boing boing--tile-size integerβ size (width and height) of each tile, not including the outer edge of the border. defaults to 120, resourcetileSize.--transference fractionβ how much a tile's neighbors affect it, in the range 0..1. this is the fraction of an orientation of a neighbor that gets turned into a velocity in the same direction. defaults to 0.025, resourcetransferenceπ¦ (yes, peer pressure, but physics)--fpsβ display the current frame rate and CPU load. numbers!! we love numbers π₯
π 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 theRESOURCE_MANAGERproperty.XSCREENSAVER_WINDOWβ the window ID to use with--root.
β X RESOURCES β
there are resource equivalents for each option, noted above π (yes, i told you each one, i gotchu)
π BUGS π
okay so the known issues, no sugarcoating:
twangshould have more interesting events π (she's telling on herself)- ways of speeding it up need to be investigated. it's kinda sluggish, especially on hugeass displays π ngl bestie, that's a whole mood
π SEE ALSO π
xscreensaver(1) β go read it, she's the parent π
π COPYRIGHT π
copyright Β© 2002 by Dan Bornstein. all rights reserved.
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. π«Ά (legalese but make it cute)
π§ AUTHOR π§
Dan Bornstein <danfuzz@milk.com>. thank you dan, king behavior π
heads up bestie: this is X Version 11, 6.09 (07-Jun-2024) β that's the source/version and date info, so you know exactly which twang era you're in β¨
laterrr ππ go pluck some tiles
π¦ 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