ftp://ftp.smr.ru/pub/0/FreeBSD/releases/distfiles/xscreensaver-3.16.tar.gz
[xscreensaver] / hacks / jigsaw.man
1 .TH XScreenSaver 1 "25-Nov-97" "X Version 11"
2 .SH NAME
3 jigsaw - permute the screen image like a jigsaw puzzle
4 .SH SYNOPSIS
5 .B jigsaw
6 [\-display \fIhost:display.screen\fP] [\-background \fIcolor\fP] [\-delay \fIusecs\fP] [\-window] [\-root] [\-install] [\-visual \fIvisual\fP]
7 .SH DESCRIPTION
8 The \fIjigsaw\fP program takes an image of the screen, carves it up into
9 a jigsaw puzzle, shuffles it, and then solves it.
10 .SH OPTIONS
11 .I jigsaw
12 accepts the following options:
13 .TP 8
14 .B \-window
15 Draw on a newly-created window.  This is the default.
16 .TP 8
17 .B \-root
18 Draw on the root window.
19 .TP 8
20 .B \-install
21 Install a private colormap for the window.
22 .TP 8
23 .B \-visual \fIvisual\fP
24 Specify which visual to use.  Legal values are the name of a visual class,
25 or the id number (decimal or hex) of a specific visual.
26 .TP 8
27 .B \-delay \fImicroseconds\fP
28 How long to wait between shuffling pieces; default 700000, or 0.7 seconds.
29 .SH RESOURCES
30 On some systems (currently, only SGIs), this program can, instead of grabbing
31 a desktop image, grab a frame of video from an external camera and manipulate
32 that instead.  The following resources control that.
33 .PP
34 .TP 8
35 .B grabVideoProbability \fR(Float)\fP
36 What portion of the time to grab video rather than a screen image, 
37 between 0.0 and 1.0.  Defaults to 0.5, or half the time.
38 .TP 8
39 .B videoDevice \fR(Integer)\fP
40 The number of the default video input device to check first.  If unspecified, 
41 the default camera (from videopanel(1)) will be checked first.  After that, all
42 other available video input devices will be checked in order.  
43
44 The first one which produces a non-black image will be used.  If all images
45 are black, the others will be re-checked a few times before giving up and
46 falling back to simply grabbing a desktop image (but note that this takes a
47 few seconds, so if you don't actually have any video sources hooked up, you
48 should consider turning off video grabbing by setting
49 \fBgrabVideoProbability\fP to 0.0.)
50 .TP 8
51 .B videoGain \fR(Float)\fP
52 The amount by which to brighten the grabbed image.  This defaults to 2.2.
53 .SH ENVIRONMENT
54 .PP
55 .TP 8
56 .B DISPLAY
57 to get the default host and display number.
58 .TP 8
59 .B XENVIRONMENT
60 to get the name of a resource file that overrides the global resources
61 stored in the RESOURCE_MANAGER property.
62 .SH SEE ALSO
63 .BR X (1),
64 .BR xscreensaver (1)
65 .SH COPYRIGHT
66 Copyright \(co 1997 by Jamie Zawinski.  Permission to use, copy, modify, 
67 distribute, and sell this software and its documentation for any purpose is 
68 hereby granted without fee, provided that the above copyright notice appear 
69 in all copies and that both that copyright notice and this permission notice
70 appear in supporting documentation.  No representations are made about the 
71 suitability of this software for any purpose.  It is provided "as is" without
72 express or implied warranty.
73 .SH AUTHOR
74 Jamie Zawinski <jwz@jwz.org>, 25-Nov-97.