ccc1c5bb31eea4d3ca620cc1940731adc1cce874
[xscreensaver] / hacks / distort.man
1 .TH XScreenSaver 1 "17-Oct-99" "X Version 11"
2 .SH NAME
3 distort \- distort the content of the screen in interesting ways
4 .SH SYNOPSIS
5 .B distort
6 [\-root] [\-window] [\-mono] [\-install] [\-noinstall] [\-visual \fIvisual\fP]
7 [\-window\-id \fIwindow\-id\fP] [\-delay \fIusecs\fP] [\-radius \fIpixels\fP]
8 [\-speed \fIint\fP] [\-number \fIint\fP] [\-swamp] [\-bounce] [\-reflect]
9 [\-vortex] [\-magnify] [\-blackhole] [\-slow] [\-shm] [\-no\-shm]
10 .SH DESCRIPTION
11 The \fIdistort\fP program takes an image and lets circular zones of
12 distortion wander randomly around it, distorting what is under them.
13 The mode of distortion and the overall behaviour of the zones can be
14 influenced in various ways.
15
16 The image that it manipulates will be grabbed from the portion of
17 the screen underlying the window, or from the system's video input,
18 or from a random file on disk, as indicated by
19 the \fIgrabDesktopImages\fP, \fIgrabVideoFrames\fP,
20 and \fIchooseRandomImages\fP options in the \fI~/.xscreensaver\fP
21 file; see
22 .BR xscreensaver-demo (1)
23 for more details.
24 .SH OPTIONS
25 .I distort
26 accepts the following options:
27 .TP 8
28 .B \-root
29 Draw on the root window.
30 .TP 8
31 .B \-window
32 Draw on a newly-created window. This is the default.
33 .TP 8
34 .B \-mono
35 If on a color display, pretend we're on a monochrome display.
36 .TP 8
37 .B \-install
38 Install a private colormap for the window.
39 .TP 8
40 .B \-noinstall
41 Don't install a private colormap for the window.
42 .TP 8
43 .B \-visual \fIvisual\fP
44 Specify which visual to use. Legal values are the name of a visual
45 class or the id number (decimal or hex) of a specific visual.
46 .TP 8
47 .B \-window\-id \fIwindow\-id\fP
48 Specify which window id to use.
49 .TP 8
50 .B \-delay \fIusecs\fP
51 Specify the delay between subsequent animation frames in microseconds.
52 .TP 8
53 .B \-radius \fIpixels\fP
54 Specify the radius of the distortion zone in pixels.
55 .TP 8
56 .B \-speed \fIint\fP
57 Specify the speed at which the distortion zone moves, where 0 is slow,
58 higher numbers are faster (10 is pretty fast.)
59 .TP 8
60 .B \-number \fIint\fP
61 Specify the number of distortion zones.
62 .TP 8
63 .B \-swamp
64 Instead of letting zones wander around, let small zones pop up like
65 bubbles in a swamp and leave permanent distortion.  \fBWARNING:\fP
66 this option uses a \fIcolossal\fP amount of memory: keep the \fI\-radius\fP
67 small when using \fI\-swamp\fP.
68 .TP 8
69 .B \-bounce
70 Let zones wander around and bounce off the window border. This is the
71 default.
72 .TP 8
73 .B \-reflect
74 Mode of distortion that resembles reflection by a cylindrical mirror.
75 .TP 8
76 .B \-vortex
77 Whirlpool-shaped distortion. Way cool.
78 .TP 8
79 .B \-magnify
80 This mode of distortion looks like a magnifying glass.
81 .TP 8
82 .B \-blackhole
83 Suck your pixels beyond the event horizon. Favourite mode of Dr
84 Stephen Hawking.
85 .TP 8
86 .B \-slow
87 Make the zone wander slower.
88 .TP 8
89 .B \-shm
90 Use shared memory extension.
91 .TP 8
92 .B \-no\-shm
93 Don't use shared memory extension.
94 .SH ENVIRONMENT
95 .PP
96 .TP 8
97 .B DISPLAY
98 to get the default host and display number
99 .TP 8
100 .B XENVIRONMENT
101 to get the name of a resource file that overrides the global resources
102 stored in the RESOURCE_MANAGER property.
103 .SH SEE ALSO
104 .BR X (1),
105 .BR xscreensaver (1),
106 .BR xscreensaver\-demo (1),
107 .BR xscreensaver\-getimage (1)
108 .SH COPYRIGHT
109 Copyright \(co 1998 by Jonas Munsin and Jamie Zawinski.  Permission to use, 
110 copy, modify, distribute, and sell this software and its documentation for
111 any purpose is hereby granted without fee, provided that the above
112 copyright notice appear in all copies and that both that copyright
113 notice and this permission notice appear in supporting documentation.
114 No representations are made about the suitability of this software for
115 any purpose.  It is provided "as is" without express or implied
116 warranty.
117 .SH AUTHORS
118 Jonas Munsin <jmunsin@iki.fi> and Jamie Zawinski <jwz@jwz.org>.
119 This manual page by Matthias Warkus <mawa@iname.com>, 17-Oct-1999.