summaryrefslogtreecommitdiffstats
path: root/hacks/glx/flipflop.man
blob: 17691bce8490caad9dff8ac1aad7eee37d14a17d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.TH XScreenSaver 1 "" "X Version 11"
.SH NAME
flipflop - draws a grid of 3D squares that change positions
.SH SYNOPSIS
.B flipflop
[\-display \fIhost:display.screen\fP]
[\-visual \fIvisual\fP]
[\-window]
[\-count \fInumber\fP | \-free \fInumber\fP]
[\-size \fInumber\fP]
[\-size-x \fInumber\fP]
[\-size-y \fInumber\fP]
[\-spin \fInumber\fP]
[\-mode sticks | tiles]
[\-delay \fInumber\fP]
[\-wireframe]
[\-fps]
[\-texture]
.SH DESCRIPTION
Flipflop draws a grid of 3D colored tiles that change positions with 
each other.
.SH OPTIONS
.TP 8
.B \-visual \fIvisual\fP
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.
.TP 8
.B \-window
Draw on a newly-created window.  This is the default.
.TP 8
.B \-root
Draw on the root window.
.TP 8
.B \-count \fInumber\fP
Number of tiles on the board. A value of "0" means "default". The
default number of tiles depends on the size of the board and the mode:
95% of total tiles for "tiles" mode and 80% of total sticks for
"sticks" mode (e.g. 76 tiles or 64 sticks for a 9x9 board). 
.TP 8
.B \-free \fInumber\fP
Number of tiles missing from the board. See -count. 
.TP 8
.B \-size \fInumber\fP
Number of tiles on each side of the board. Takes precedence over
-size-x and -size-y. Default: 9.
.TP 8
.B \-size-x \fInumber\fP
Width (in tiles) of the board. Default: 9.
.TP 8
.B \-size-y \fInumber\fP
Length (in tiles) of the board. Default: 9.
.TP 8
.B \-spin \fInumber\fP
Angular velocity for the rotation of the board. 
.TP 8
.B \-mode sticks 
Draw hopping sticks instead of flipping tiles. 
.TP 8
.B \-mode tiles 
Draw flipping tiles. This is the default. 
.TP 8
.B \-delay \fInumber\fP
Per-frame delay, in microseconds.  Default: 20000 (0.02 seconds.).
.TP 8
.B \-fps | \-no\-fps
Display the current frame rate, CPU load, and polygon count.
.TP 8
.B \-wireframe
Only draw outlines.
.TP 8
.B \-texture | \-no\-texture
Whether to texture the tiles with a screen grab or an image.
.SH ENVIRONMENT
.PP
.TP 8
.B DISPLAY
to get the default host and display number.
.TP 8
.B XENVIRONMENT
to get the name of a resource file that overrides the global resources
stored in the RESOURCE_MANAGER property.
.SH SEE ALSO
.BR X (1),
.BR xscreensaver (1)
.SH COPYRIGHT
Copyright \(co 2003 by Kevin Ogden.  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.
.SH AUTHOR
Kevin Ogden <kogden1@hotmail.com>. Some additional code by Sergio
Gutierrez <sergut@gmail.com>.