1cube21(6x)                    XScreenSaver manual                   cube21(6x)
2
3
4

NAME

6       cube21 - animates the Cube 21 puzzle
7

SYNOPSIS

9       cube21   [-display   host:display.screen]  [-visual  visual]  [-window]
10       [-root]  [-install]  [-delay  microseconds]  [-texture]   [-no-texture]
11       [-mono]  [-wireframe]  [-spin] [-no-spin] [-wander] [-no-wander] [-ran‐
12       domize] [-no-randomize] [-spinspeed number] [-rotspeed  number]  [-wan‐
13       derspeed  number]  [-wait  number]  [-cubesize number] [-colormode arg]
14       [-fps]
15

DESCRIPTION

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

OPTIONS

26       cube21 accepts the following options:
27
28       -window Draw on a newly-created window.  This is the default.
29
30       -root   Draw on the root window.
31
32       -install
33               Install a private colormap for the window.
34
35       -visual visual
36               Specify which visual to use.  Legal values are the  name  of  a
37               visual  class,  or the id number (decimal or hex) of a specific
38               visual.
39
40       -delay microseconds
41               How long to pause between frames.  Default is  20000,  or  0.02
42               second.
43
44       -texture
45               Use texture maps.  This is the default.
46
47       -no-texture
48               Use solid colors.
49
50       -mono   Disable both texture maps and colors.
51
52       -wireframe
53               Only draw outlines.  Outlines of all pieces, not only the whole
54               object, are drawn.
55
56       -spin   Spin the whole object around X, Y and  Z  axes.   This  is  the
57               default.
58
59       -no-spin
60               Do not spin, showing the same three faces all the time.
61
62       -wander Move the object around the screen.  This is the default.
63
64       -no-wander
65               Keep the object centered on the screen.
66
67       -randomize
68               Shuffle the puzzle randomly at startup.  This is the default.
69
70       -no-randomize
71               Do not shuffle at startup, begin at the shape of cube.
72
73       -spinspeed number
74               The relative speed of spinning.  Default is 1.0.
75
76       -rotspeed number
77               The relative speed of the moves.  Default is 3.0.  Setting to ≤
78               0.0 makes the object stay at one configuration.
79
80       -wanderspeed number
81               The relative speed of wandering around the screen.  Default  is
82               1.0.
83
84       -wait number
85               How long to stay at ending position after each move.  The mean‐
86               ing of the argument is again relative.  Default is 40.0.
87
88       -cubesize number
89               Size of the object.  Value of 3.0 fills roughly all the  screen
90               (its height).  Default is 0.7.
91
92       -colormode argument
93               How  many  and which colors should the object have.  The colors
94               are put on the piece faces so that the puzzle is solvable.  The
95               inner faces are not influenced.
96
97               se or silver
98                       Simulate  the  "Silver  Edition" - white and one random
99                       color.
100
101               2 or two
102                       Two random colors.
103
104               ce or classic
105                       Simulate the "Classic Edition" - white, yellow, orange,
106                       red, green and blue.
107
108               6 or six
109                       Six random colors.
110
111               1 or random or rnd
112                       One random color.
113
114               Anything else
115                       All faces white.
116
117       -fps    Display a running tally of how many frames per second are being
118               rendered.  In conjunction with -delay 0, this can be  a  useful
119               benchmark of your GL performance.
120

ENVIRONMENT

122       DISPLAY to get the default host and display number.
123
124       XENVIRONMENT
125               to  get  the  name of a resource file that overrides the global
126               resources stored in the RESOURCE_MANAGER property.
127

SEE ALSO

129       X(1), xscreensaver(1)
130
132       Copyright © 2005 by Vaclav Potocek.  Permission to use,  copy,  modify,
133       distribute,  and  sell this software and its documentation for any pur‐
134       pose is hereby granted without fee, provided that the  above  copyright
135       notice  appear  in  all  copies and that both that copyright notice and
136       this permission notice appear in supporting documentation.   No  repre‐
137       sentations are made about the suitability of this software for any pur‐
138       pose.  It is provided "as is" without express or implied warranty.
139

AUTHOR

141       Vaclav (Vasek) Potocek <vasek.potocek@post.cz>, 30-Aug-05.
142
143
144
145X Version 11                 5.05-3 (06-Apr-2008)                   cube21(6x)
Impressum