http://se.aminet.net/pub/X11/ftp.x.org/contrib/vms/xscreensaver-124.zip
[xscreensaver] / hacks / hypercube.hlp
1 1 HYPERCUBE 
2 2D projection of a 4d object
3
4 SYNOPSIS
5
6   $ hypercube [-display host:display.screen] [-foreground color] 
7               [-background color] [-color[0-7] color] [-xy float] [-xz float] 
8               [-yz float] [-xw float] [-yw float] [-zw float] 
9               [-observer-z int] [-window] [-root] [-mono] [-delay usecs]
10
11 2 DESCRIPTION
12 The hypercube program displays a wireframe projection of a hypercube
13 which is rotating at user-specified rates around any or all of its four axes.
14
15 2 OPTIONS
16 hypercube accepts the following options:
17
18    -window
19 Draw on a newly-created window.  This is the default.
20
21    -root
22 Draw on the root window.
23
24    -mono 
25 If on a color display, pretend we're on a monochrome display.
26
27    -delay microseconds
28 How much of a delay should be introduced between steps of the animation.
29 Default 100000, or about 1/10th second.
30
31    -observer-z int
32 How far away the observer is from the center of the cube (the cube is one
33 unit per side.)  Default 5.
34
35    -color0 color
36
37    -color1 color
38
39    -color2 color
40
41    -color3 color
42
43    -color4 color
44
45    -color5 color
46
47    -color6 color
48
49    -color7 color
50 The colors used to draw the line segments bordering the eight faces of
51 the cube.  Some of the faces have only two of their border-lines drawn in
52 the specified color, and some have all four.
53
54    -xw float
55
56    -xy float
57
58    -xz float
59
60    -yw float
61
62    -yz float
63
64    -zw float
65 The amount that the cube should be rotated around the specified axis at
66 each frame of the animation, expressed in radians.  These should be small
67 floating-point values (less than 0.05 works best.)  Default: xy=0.01,
68 xz=0.005, yw=0.01.
69
70 2 ENVIRONMENT
71
72    DISPLAY
73 to get the default host and display number.
74
75    XENVIRONMENT
76 to get the name of a resource file that overrides the global resources
77 stored in the RESOURCE_MANAGER property.
78
79 2 COPYRIGHT
80 Copyright (co 1992 by Jamie Zawinski.  Permission to use, copy, modify, 
81 distribute, and sell this software and its documentation for any purpose is 
82 hereby granted without fee, provided that the above copyright notice appear 
83 in all copies and that both that copyright notice and this permission notice
84 appear in supporting documentation.  No representations are made about the 
85 suitability of this software for any purpose.  It is provided "as is" without
86 express or implied warranty.
87
88 2 AUTHOR
89 Jamie Zawinski <jwz@mcom.com>, 6-dec-92.