XScreenSaver(1)
NAME
slidescreen - permute the screen image like an 8-puzzle
SYNOPSIS
slidescreen [-display host:display.screen] [-background
color] [-grid-size pixels] [-ibw pixels] [-increment pix-
els] [-delay usecs] [-delay2 usecs] [-window] [-root]
[-install] [-visual visual]
DESCRIPTION
The slidescreen program takes an image of the screen,
divides it into a grid, deletes a random square of that
grid, and then randomly slides one of the neighbors of
this "hole" into the hole (and repeat.)
OPTIONS
slidescreen accepts the following options:
-window Draw on a newly-created window. This is the
default.
-root Draw on the root window.
-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.
-grid-size pixels
The size of the grid cells. Default 70 pixels.
-ibw pixels
The size of the "gutter" between grid cells.
Default 1 pixel.
-increment pixels
How many pixels by which a piece should be moved
when sliding to a new location. Default 10 pix-
els.
-delay microseconds
How much of a delay should be introduced between
steps of the animation of the motion of each seg-
ment. Default 50000, which is 0.05 seconds. This
is closely related to the -increment parameter.
-delay microseconds
How much of a delay should be introduced between
the end of the motion of one segment and the
beginning of the motion of another. Default
1000000, which is one second.
RESOURCES
On some systems (currently, only SGIs), this program can,
instead of grabbing a desktop image, grab a frame of video
from an external camera and manipulate that instead. The
following resources control that.
grabVideoProbability (Float)
What portion of the time to grab video rather than
a screen image, between 0.0 and 1.0. Defaults to
0.5, or half the time.
videoDevice (Integer)
The number of the default video input device to
check first. If unspecified, the default camera
(from videopanel(1)) will be checked first. After
that, all other available video input devices will
be checked in order.
The first one which produces a non-black image
will be used. If all images are black, the others
will be re-checked a few times before giving up
and falling back to simply grabbing a desktop
image (but note that this takes a few seconds, so
if you don't actually have any video sources
hooked up, you should consider turning off video
grabbing by setting grabVideoProbability to 0.0.)
videoGain (Float)
The amount by which to brighten the grabbed image.
This defaults to 2.2.
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_MAN-
AGER property.
SEE ALSO
X(1) xscreensaver(1)
COPYRIGHT
Copyright (C) 1992 by Jamie Zawinski. Permission to use,
copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without
fee, provided that the above copyright notice appear in
all copies and that both that copyright notice and this
permission notice appear in supporting documentation. No
representations are made about the suitability of this
software for any purpose. It is provided "as is" without
express or implied warranty.
AUTHOR
Jamie Zawinski lt;jwz@netscape.com, 3-dec-92.