1 .TH XScreenSaver 1 "30-Aug-05" "X Version 11"
3 cube21 - animates the Cube 21 puzzle
6 [\-display \fIhost:display.screen\fP]
7 [\-visual \fIvisual\fP]
11 [\-delay \fImicroseconds\fP]
12 [\-texture] [\-no\-texture]
16 [\-wander] [\-no\-wander]
17 [\-randomize] [\-no\-randomize]
18 [\-spinspeed \fInumber\fP]
19 [\-rotspeed \fInumber\fP]
20 [\-wanderspeed \fInumber\fP]
22 [\-cubesize \fInumber\fP]
23 [\-colormode \fIarg\fP]
26 This program animates a puzzle known as Cube 21 or Square-1.
27 Its moves are chosen randomly.
29 Cube 21 is a Rubik-like puzzle invented in 1992. Its specialities are that
30 it can change its shape and even the number of possible moves. It can have
31 more than 200 different shapes and the total number of configurations
32 (assuming colors) is several tens of billions.
35 accepts the following options:
38 Draw on a newly-created window. This is the default.
41 Draw on the root window.
44 Install a private colormap for the window.
46 .B \-visual \fIvisual\fP\fP
47 Specify which visual to use. Legal values are the name of a visual class,
48 or the id number (decimal or hex) of a specific visual.
50 .B \-delay \fImicroseconds\fP
51 How long to pause between frames. Default is 20000, or 0.02 second.
54 Use texture maps. This is the default.
60 Disable both texture maps and colors.
63 Only draw outlines. Outlines of all pieces, not only the whole object, are drawn.
66 Spin the whole object around X, Y and Z axes. This is the default.
69 Do not spin, showing the same three faces all the time.
72 Move the object around the screen. This is the default.
75 Keep the object centered on the screen.
78 Shuffle the puzzle randomly at startup. This is the default.
81 Do not shuffle at startup, begin at the shape of cube.
83 .B \-spinspeed \fInumber\fP
84 The relative speed of spinning. Default is 1.0.
86 .B \-rotspeed \fInumber\fP
87 The relative speed of the moves. Default is 3.0. Setting to \(<= 0.0
88 makes the object stay at one configuration.
90 .B \-wanderspeed \fInumber\fP
91 The relative speed of wandering around the screen. Default is 1.0.
93 .B \-wait \fInumber\fP
94 How long to stay at ending position after each move. The meaning of
95 the argument is again relative. Default is 40.0.
97 .B \-cubesize \fInumber\fP
98 Size of the object. Value of 3.0 fills roughly all the screen (its height). Default is 0.7.
100 .B \-colormode \fIargument\fP
101 How many and which colors should the object have. The colors are put on the piece
102 faces so that the puzzle is solvable. The inner faces are not influenced.
106 Simulate the "Silver Edition" \- white and one random color.
111 .BR ce " or " classic
112 Simulate the "Classic Edition" \- white, yellow, orange, red, green and blue.
117 .BR 1 " or " random " or " rnd
125 Display a running tally of how many frames per second are being rendered.
126 In conjunction with \fB\-delay 0\fP, this can be a useful benchmark of
132 to get the default host and display number.
135 to get the name of a resource file that overrides the global resources
136 stored in the RESOURCE_MANAGER property.
141 Copyright \(co 2005 by Vaclav Potocek. Permission to use, copy, modify,
142 distribute, and sell this software and its documentation for any purpose is
143 hereby granted without fee, provided that the above copyright notice appear
144 in all copies and that both that copyright notice and this permission notice
145 appear in supporting documentation. No representations are made about the
146 suitability of this software for any purpose. It is provided "as is" without
147 express or implied warranty.
149 Vaclav (Vasek) Potocek <vasek.potocek@post.cz>, 30-Aug-05.