qix(6x)

qix6x

Bounce colored lines around a window

Usage

qix [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number] [--mono] [--install] [--visual visual] [--segments int] [--spread pixels] [--size pixels] [--count int] [--color-shift degrees] [--delay usecs] [--random] [--linear] [--solid] [--hollow] [--xor] [--no-xor] [--transparent] [--non-transparent] [--additive] [--subtractive] [--poly int] [--gravity] [--no-gravity] [--fps]

Overview

The qix program bounces a series of line segments around its window. This is truly the swiss army chainsaw of qix programs. If you know of one with more display modes, I want to know about it.

Options

qix accepts the following options:

--window

Draw on a newly-created window. This is the default.

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--mono

If on a color display, pretend we're on a monochrome display.

--install

Install a private colormap for the window.

--visual visual

Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.

--segments integer

How many line segments should be drawn. Default 50.

--spread integer

How far apart the endpoints of one segment should be from the next. Default 8.

--size integer

The maximum distance one endpoint of a segment is allowed to be from the opposite end of that segment. Default 0, meaning unlimited.

--count integer

How many qixes to draw. Default 1.

--color-shift degrees

If on a color display, the color of the line segments will cycle through the spectrum. This specifies how far the hue of each segment should be from the next, in degrees on the HSV wheel. Default 3.

--delay microseconds

How much of a delay should be introduced between steps of the animation. Default 10000, or about 0.01 seconds.

--random

The qix will wander around the screen semi-randomly. This is the default.

--linear

The opposite of --random: the qix will travel in straight lines until it reaches a wall, and then it will bounce.

--solid

If this is specified, then the area between the line segments will be filled in with the appropriate color, instead of the qix simply being composed of one-pixel-wide line segments. This option looks really good in color.

--hollow

The opposite of --solid; this is the default.

--xor

If this is specified, then qix segments will be drawn and erased with xor, instead of being drawn in some color and erased in the background color. This implies --mono, in that only two colors can be used.

--transparent

If this is specified, and --count is greater than 1, then each qix will be drawn in one color, and when they overlap, the colors will be mixed. This looks best in conjunction with --solid.

--non-transparent

Turns off --transparent.

--additive

If --transparent is specified, then this option means that the colors will be mixed using an additive color model, as if the qixes were projected light. This is the default.

--subtractive

If --transparent is specified, then this option means that the colors will be mixed using a subtractive color model, as if the qixes were translucent filters.

--poly int

How many vertices each qix-line should have: the default is 2, meaning the traditional qix line shape. Three will yield triangles, and so on.

--gravity
--no-gravity

Whether there should be downward attraction. For example, the options --gravity --linear will make everything move in nice smooth parabolas. Gravity is off by default.

--fps

Display the current frame rate and CPU load.

Environment

DISPLAY

to get the default host and display number.

XENVIRONMENT

to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

XSCREENSAVER_WINDOW

The window ID to use with --root.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

--additive since Debian 12 (Bookworm); --color-shift since Debian 12 (Bookworm); --count since Debian 12 (Bookworm); --delay since Debian 12 (Bookworm); --fps since Debian 12 (Bookworm); --gravity since Debian 12 (Bookworm); --hollow since Debian 12 (Bookworm); --install since Debian 12 (Bookworm); --linear since Debian 12 (Bookworm); --mono since Debian 12 (Bookworm); --no-gravity since Debian 12 (Bookworm); --non-transparent since Debian 12 (Bookworm); --poly since Debian 12 (Bookworm); --random since Debian 12 (Bookworm); --root since Debian 12 (Bookworm); --segments since Debian 12 (Bookworm); --size since Debian 12 (Bookworm); --solid since Debian 12 (Bookworm); --spread since Debian 12 (Bookworm); --subtractive since Debian 12 (Bookworm); --transparent since Debian 12 (Bookworm); --visual since Debian 12 (Bookworm); --window since Debian 12 (Bookworm); --window-id since Debian 12 (Bookworm); --xor since Debian 12 (Bookworm).

-additive until Debian 11 (Bullseye); -color-shift until Debian 11 (Bullseye); -count until Debian 11 (Bullseye); -delay until Debian 11 (Bullseye); -fps until Debian 11 (Bullseye); -gravity until Debian 11 (Bullseye); -hollow until Debian 11 (Bullseye); -install until Debian 11 (Bullseye); -linear until Debian 11 (Bullseye); -mono until Debian 11 (Bullseye); -no-gravity until Debian 11 (Bullseye); -non-transparent until Debian 11 (Bullseye); -poly until Debian 11 (Bullseye); -random until Debian 11 (Bullseye); -root until Debian 11 (Bullseye); -segments until Debian 11 (Bullseye); -size until Debian 11 (Bullseye); -solid until Debian 11 (Bullseye); -spread until Debian 11 (Bullseye); -subtractive until Debian 11 (Bullseye); -transparent until Debian 11 (Bullseye); -visual until Debian 11 (Bullseye); -window until Debian 11 (Bullseye); -xor until Debian 11 (Bullseye).

Author

Jamie Zawinski <[email protected]>, 13-aug-92.

Thanks to Ariel Scolnicov for the --poly and --gravity options.

From xscreensaver-data-extra 6.09+dfsg1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.