1 .TH XScreenSaver 1 "07-Feb-2002" "X Version 11"
3 twang - pluck pieces of the screen
6 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] [\-shm] [\-no-shm] [\-delay \fImicroseconds\fP] [\-border-color \fIcolor\fP] [\-border-width \fIinteger\fP] [\-event-chance \fIfraction\fP] [\-friction \fIfraction\fP] [\-springiness \fIfraction\fP] [\-tile-size \fIinteger\fP] [\-transference \fIfraction\fP]
8 \fITwang\fP divides the screen into equal-sized tiles, and then plucks
9 them in various ways. Tiles are affected by their neighbors, so waves
10 of motion flow through the grid. This manpage
11 describes v1.3 of the program.
14 accepts the following options:
17 Draw on a newly-created window. This is the default.
20 Draw on the root window.
23 If on a color display, pretend we're on a monochrome display.
26 Install a private colormap for the window.
28 .B \-visual \fIvisual\fP
29 Which visual to use. Legal values are the name of a visual class,
30 or the id number (decimal or hex) of a specific visual.
35 Use the shared memory extension (or not, respectively), if available.
37 up a bit, but probably won't make that much difference. If available,
38 defaults to true, resource \fIuseSHM\fP.
40 .B \-delay \fImicroseconds\fP
41 The interframe delay, in microseconds. Defaults to 10000, resource
44 .B \-border-color \fIcolor\fP
45 Color of the border surrounding each tile. Defaults to blue, resource
48 .B \-border-width \fIinteger\fP
49 Width of the border surrounding each tile. Defaults to 3, resource
52 .B \-event-chance \fIfraction\fP
53 The chance, per iteration, for an event to occur (such as tweaking
54 the orientation of a tile), in the range 0..1. Defaults to 0.01,
55 resource \fIeventChance\fP.
57 .B \-friction \fIfraction\fP
58 How much friction there is in the system, in the range 0..1.
59 This is the amount by which velocities are damped per iteration.
60 Defaults to 0.05, resource \fIfriction\fP.
62 .B \-springiness \fIfraction\fP
63 How springy the tiles are, in the range 0..1.
64 This is the fraction of an orientation that gets turned into a velocity
65 towards the center (resting point). Defaults to 0.1, resource
68 .B \-tile-size \fIinteger\fP
69 Size (width and height) of each tile, not including the outer edge
70 of the border. Defaults to 120, resource \fItileSize\fP.
72 .B \-transference \fIfraction\fP
73 How much a tile's neighbors affect it, in the range 0..1.
74 This is the fraction of an orientation of a neighbor that gets turned
75 into a velocity in the same direction Defaults to 0.025, resource
81 to get the default host and display number.
84 to get the name of a resource file that overrides the global resources
85 stored in the RESOURCE_MANAGER property.
87 There are resource equivalents for each option, noted above.
90 should have more interesting events.
92 Ways of speeding it up need to be investigated. It's kinda sluggish,
93 especially on hugeass displays.
97 Copyright \(co 2002 by Dan Bornstein. All rights reserved.
99 Permission to use, copy, modify, distribute, and sell this software and its
100 documentation for any purpose is hereby granted without fee, provided that
101 the above copyright notice appear in all copies and that both that
102 copyright notice and this permission notice appear in supporting
103 documentation. No representations are made about the suitability of this
104 software for any purpose. It is provided "as is" without express or
107 Dan Bornstein <danfuzz@milk.com>.