http://www.ibiblio.org/pub/historic-linux/ftp-archives/sunsite.unc.edu/Sep-29-1996...
[xscreensaver] / hacks / qix.man
1 .TH XScreenSaver 1 "9-dec-92" "X Version 11"
2 .SH NAME
3 qix - bounce colored lines around a window
4 .SH SYNOPSIS
5 .B qix
6 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] [\-segments \fIint\fP] [\-spread \fIpixels\fP] [\-size \fIpixels\fP] [\-count \fIint\fP] [\-color-shift \fIdegrees\fP] [\-delay \fIusecs\fP] [\-random] [\-linear] [\-solid] [\-hollow] [\-xor] [\-no\-xor] [\-transparent] [\-non\-transparent] [\-additive] [\-subtractive]
7 .SH DESCRIPTION
8 The \fIqix\fP program bounces a series of line segments around its window.
9 This is truly the swiss army chainsaw of qix programs.  If you know of one
10 with more display modes, I want to know about it.
11 .SH OPTIONS
12 .I qix
13 accepts the following options:
14 .TP 8
15 .B \-window
16 Draw on a newly-created window.  This is the default.
17 .TP 8
18 .B \-root
19 Draw on the root window.
20 .TP 8
21 .B \-mono 
22 If on a color display, pretend we're on a monochrome display.
23 .TP 8
24 .B \-install
25 Install a private colormap for the window.
26 .TP 8
27 .B \-visual \fIvisual\fP
28 Specify which visual to use.  Legal values are the name of a visual class,
29 or the id number (decimal or hex) of a specific visual.
30 .TP 8
31 .B \-segments \fIinteger\fP
32 How many line segments should be drawn.  Default 50.
33 .TP 8
34 .B \-spread \fIinteger\fP
35 How far apart the endpoints of one segment should be from the next.
36 Default 8.
37 .TP 8
38 .B \-size \fIinteger\fP
39 The maximum distance one endpoint of a segment is allowed to be from
40 the opposite end of that segment.  Default 0, meaning unlimited.
41 .TP 8
42 .B \-count \fIinteger\fP
43 How many qixes to draw.  Default 1.
44 .TP 8
45 .B \-color\-shift \fIdegrees\fP
46 If on a color display, the color of the line segments will cycle through
47 the spectrum.  This specifies how far the hue of each segment should be
48 from the next, in degrees on the HSV wheel.  Default 3.
49 .TP 8
50 .B \-delay \fImicroseconds\fP
51 How much of a delay should be introduced between steps of the animation.
52 Default 25000, or about 0.025 seconds.
53 .TP 8
54 .B \-random
55 The \fIqix\fP will wander around the screen semi-randomly.  This is the
56 default.
57 .TP 8
58 .B \-linear
59 The opposite of \fI\-random\fP: the \fIqix\fP will travel in straight lines
60 until it reaches a wall, and then it will bounce.
61 .TP 8
62 .B \-solid
63 If this is specified, then the area between the line segments will be filled
64 in with the appropriate color, instead of the \fIqix\fP simply being composed
65 of one-pixel-wide line segments.  This option looks really good in color.
66 .TP 8
67 .B \-hollow
68 The opposite of \fI\-solid\fP; this is the default.
69 .TP 8
70 .B \-xor
71 If this is specified, then qix segments will be drawn and erased with xor,
72 instead of being drawn in some color and erased in the background color.
73 This implies \fI\-mono\fP, in that only two colors can be used.
74 .TP 8
75 .B \-transparent
76 If this is specified, and \fI\-count\fP is greater than 1, then each qix
77 will be drawn in one color, and when they overlap, the colors will be mixed.
78 This only works on \fBPseudoColor\fP displays.  This looks best in
79 conjuction with \fI\-solid\fP.
80 .TP 8
81 .B \-non\-transparent
82 Turns off \fI\-transparent\fP.
83 .TP 8
84 .B \-additive
85 If \fI\-transparent\fP is specified, then this option means that the colors
86 will be mixed using an additive color model, as if the qixes were projected
87 light.  This is the default.
88 .TP 8
89 .B \-subtractive
90 If \fI\-transparent\fP is specified, then this option means that the
91 colors will be mixed using a subtractive color model, as if the qixes were
92 translucent filters.
93 .SH ENVIRONMENT
94 .PP
95 .TP 8
96 .B DISPLAY
97 to get the default host and display number.
98 .TP 8
99 .B XENVIRONMENT
100 to get the name of a resource file that overrides the global resources
101 stored in the RESOURCE_MANAGER property.
102 .SH SEE ALSO
103 .BR X (1),
104 .BR xscreensaver (1)
105 .SH COPYRIGHT
106 Copyright \(co 1992 by Jamie Zawinski.  Permission to use, copy, modify, 
107 distribute, and sell this software and its documentation for any purpose is 
108 hereby granted without fee, provided that the above copyright notice appear 
109 in all copies and that both that copyright notice and this permission notice
110 appear in supporting documentation.  No representations are made about the 
111 suitability of this software for any purpose.  It is provided "as is" without
112 express or implied warranty.
113 .SH AUTHOR
114 Jamie Zawinski <jwz@netscape.com>, 13-aug-92.