90dd67dc92eb5e2b261be8b67890753f3ed1d81c
[xscreensaver] / local / man / man.1 / qix.1
1 .TH XScreenSaver 1 "27-Apr-97" "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] [\-poly \fIint\fP] [\-gravity] [\-no\-gravity]
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 looks best in conjuction with \fI\-solid\fP.
79 .TP 8
80 .B \-non\-transparent
81 Turns off \fI\-transparent\fP.
82 .TP 8
83 .B \-additive
84 If \fI\-transparent\fP is specified, then this option means that the colors
85 will be mixed using an additive color model, as if the qixes were projected
86 light.  This is the default.
87 .TP 8
88 .B \-subtractive
89 If \fI\-transparent\fP is specified, then this option means that the
90 colors will be mixed using a subtractive color model, as if the qixes were
91 translucent filters.
92 .TP 8
93 .B \-poly \fIint\fP
94 How many vertices each qix-line should have: the default is 2, meaning the
95 traditional qix line shape.  Three will yield triangles, and so on.
96 .TP 8
97 .B \-gravity
98 .TP 8
99 .B \-no\-gravity
100 Whether there should be downward attraction.  For example, the
101 options
102 .B \-gravity \-linear
103 will make everything move in nice smooth parabolas.
104 Gravity is off by default.
105 .SH ENVIRONMENT
106 .PP
107 .TP 8
108 .B DISPLAY
109 to get the default host and display number.
110 .TP 8
111 .B XENVIRONMENT
112 to get the name of a resource file that overrides the global resources
113 stored in the RESOURCE_MANAGER property.
114 .SH SEE ALSO
115 .BR X (1),
116 .BR xscreensaver (1)
117 .SH COPYRIGHT
118 Copyright \(co 1992 by Jamie Zawinski.  Permission to use, copy, modify, 
119 distribute, and sell this software and its documentation for any purpose is 
120 hereby granted without fee, provided that the above copyright notice appear 
121 in all copies and that both that copyright notice and this permission notice
122 appear in supporting documentation.  No representations are made about the 
123 suitability of this software for any purpose.  It is provided "as is" without
124 express or implied warranty.
125 .SH AUTHOR
126 Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
127
128 Thanks to Ariel Scolnicov for the \-poly and \-gravity options.