1 .TH XScreenSaver 1 "07-Feb-2002" "X Version 11"
3 twang - pluck pieces of the screen
6 [\-display \fIhost:display.screen\fP]
7 [\-foreground \fIcolor\fP]
8 [\-background \fIcolor\fP]
13 [\-visual \fIvisual\fP]
17 [\-duration \fIsecs\fP]
18 [\-border-color \fIcolor\fP]
19 [\-border-width \fIinteger\fP]
20 [\-event-chance \fIfraction\fP]
21 [\-friction \fIfraction\fP]
22 [\-springiness \fIfraction\fP]
23 [\-tile-size \fIinteger\fP]
24 [\-transference \fIfraction\fP]
26 \fITwang\fP divides the screen into equal-sized tiles, and then plucks
27 them in various ways. Tiles are affected by their neighbors, so waves
28 of motion flow through the grid. This manpage
29 describes v1.3 of the program.
32 accepts the following options:
35 Draw on a newly-created window. This is the default.
38 Draw on the root window.
41 If on a color display, pretend we're on a monochrome display.
44 Install a private colormap for the window.
46 .B \-visual \fIvisual\fP
47 Which visual to use. Legal values are the name of a visual class,
48 or the id number (decimal or hex) of a specific visual.
53 Use the shared memory extension (or not, respectively), if available.
55 up a bit, but probably won't make that much difference. If available,
56 defaults to true, resource \fIuseSHM\fP.
58 .B \-delay \fImicroseconds\fP
59 The interframe delay, in microseconds. Defaults to 10000, resource
62 .B \-duration \fIseconds\fP
63 How long to run before loading a new image. Default 120 seconds.
65 .B \-border-color \fIcolor\fP
66 Color of the border surrounding each tile. Defaults to blue, resource
69 .B \-border-width \fIinteger\fP
70 Width of the border surrounding each tile. Defaults to 3, resource
73 .B \-event-chance \fIfraction\fP
74 The chance, per iteration, for an event to occur (such as tweaking
75 the orientation of a tile), in the range 0..1. Defaults to 0.01,
76 resource \fIeventChance\fP.
78 .B \-friction \fIfraction\fP
79 How much friction there is in the system, in the range 0..1.
80 This is the amount by which velocities are damped per iteration.
81 Defaults to 0.05, resource \fIfriction\fP.
83 .B \-springiness \fIfraction\fP
84 How springy the tiles are, in the range 0..1.
85 This is the fraction of an orientation that gets turned into a velocity
86 towards the center (resting point). Defaults to 0.1, resource
89 .B \-tile-size \fIinteger\fP
90 Size (width and height) of each tile, not including the outer edge
91 of the border. Defaults to 120, resource \fItileSize\fP.
93 .B \-transference \fIfraction\fP
94 How much a tile's neighbors affect it, in the range 0..1.
95 This is the fraction of an orientation of a neighbor that gets turned
96 into a velocity in the same direction Defaults to 0.025, resource
102 to get the default host and display number.
105 to get the name of a resource file that overrides the global resources
106 stored in the RESOURCE_MANAGER property.
108 There are resource equivalents for each option, noted above.
111 should have more interesting events.
113 Ways of speeding it up need to be investigated. It's kinda sluggish,
114 especially on hugeass displays.
118 Copyright \(co 2002 by Dan Bornstein. All rights reserved.
120 Permission to use, copy, modify, distribute, and sell this software and its
121 documentation for any purpose is hereby granted without fee, provided that
122 the above copyright notice appear in all copies and that both that
123 copyright notice and this permission notice appear in supporting
124 documentation. No representations are made about the suitability of this
125 software for any purpose. It is provided "as is" without express or
128 Dan Bornstein <danfuzz@milk.com>.