1cube21(6x) XScreenSaver manual cube21(6x)
2
3
4
6 cube21 - animates the Cube 21 puzzle
7
9 cube21 [--display host:display.screen] [--visual visual] [--window]
10 [--root] [--window-id number] [--install] [--delay microseconds]
11 [--texture] [--no-texture] [--mono] [--wireframe] [--spin] [--no-spin]
12 [--wander] [--no-wander] [--randomize] [--no-randomize] [--spinspeed
13 number] [--rotspeed number] [--wanderspeed number] [--wait number]
14 [--cubesize number] [--colormode arg] [--fps]
15
17 This program animates a puzzle known as Cube 21 or Square-1. Its moves
18 are chosen randomly.
19
20 Cube 21 is a Rubik-like puzzle invented in 1992. Its specialities are
21 that it can change its shape and even the number of possible moves. It
22 can have more than 200 different shapes and the total number of config‐
23 urations (assuming colors) is several tens of billions.
24
26 cube21 accepts the following options:
27
28 --window
29 Draw on a newly-created window. This is the default.
30
31 --root Draw on the root window.
32
33 --window-id number
34 Draw on the specified window.
35
36 --install
37 Install a private colormap for the window.
38
39 --visual visual
40 Specify which visual to use. Legal values are the name of a
41 visual class, or the id number (decimal or hex) of a specific
42 visual.
43
44 --delay microseconds
45 How long to pause between frames. Default is 20000, or 0.02
46 second.
47
48 --texture
49 Use texture maps. This is the default.
50
51 --no-texture
52 Use solid colors.
53
54 --mono Disable both texture maps and colors.
55
56 --wireframe
57 Only draw outlines. Outlines of all pieces, not only the whole
58 object, are drawn.
59
60 --spin Spin the whole object around X, Y and Z axes. This is the de‐
61 fault.
62
63 --no-spin
64 Do not spin, showing the same three faces all the time.
65
66 --wander
67 Move the object around the screen. This is the default.
68
69 --no-wander
70 Keep the object centered on the screen.
71
72 --randomize
73 Shuffle the puzzle randomly at startup. This is the default.
74
75 --no-randomize
76 Do not shuffle at startup, begin at the shape of cube.
77
78 --spinspeed number
79 The relative speed of spinning. Default is 1.0.
80
81 --rotspeed number
82 The relative speed of the moves. Default is 3.0. Setting to ≤
83 0.0 makes the object stay at one configuration.
84
85 --wanderspeed number
86 The relative speed of wandering around the screen. Default is
87 1.0.
88
89 --wait number
90 How long to stay at ending position after each move. The mean‐
91 ing of the argument is again relative. Default is 40.0.
92
93 --cubesize number
94 Size of the object. Value of 3.0 fills roughly all the screen
95 (its height). Default is 0.7.
96
97 --colormode argument
98 How many and which colors should the object have. The colors
99 are put on the piece faces so that the puzzle is solvable. The
100 inner faces are not influenced.
101
102 se or silver
103 Simulate the "Silver Edition" - white and one random
104 color.
105
106 2 or two
107 Two random colors.
108
109 ce or classic
110 Simulate the "Classic Edition" - white, yellow, orange,
111 red, green and blue.
112
113 6 or six
114 Six random colors.
115
116 1 or random or rnd
117 One random color.
118
119 Anything else
120 All faces white.
121
122 --fps Display the current frame rate, CPU load, and polygon count.
123
125 DISPLAY to get the default host and display number.
126
127 XENVIRONMENT
128 to get the name of a resource file that overrides the global
129 resources stored in the RESOURCE_MANAGER property.
130
131 XSCREENSAVER_WINDOW
132 The window ID to use with --root.
133
135 X(1), xscreensaver(1)
136
138 Copyright © 2005 by Vaclav Potocek. Permission to use, copy, modify,
139 distribute, and sell this software and its documentation for any pur‐
140 pose is hereby granted without fee, provided that the above copyright
141 notice appear in all copies and that both that copyright notice and
142 this permission notice appear in supporting documentation. No repre‐
143 sentations are made about the suitability of this software for any pur‐
144 pose. It is provided "as is" without express or implied warranty.
145
147 Vaclav (Vasek) Potocek <vasek.potocek@post.cz>, 30-Aug-05.
148
149
150
151X Version 11 6.08-1.fc38 (17-Oct-2023) cube21(6x)