X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhypercube.man;h=259437098b7f4b97f1f0898f6e2f7b7cb9301c8b;hb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;hp=544ed970b0d33d7778999a8fb02518afcf1c92fa;hpb=0a1527cc01e9894017614b7c36b838b2b6914ba9;p=xscreensaver diff --git a/hacks/hypercube.man b/hacks/hypercube.man index 544ed970..25943709 100644 --- a/hacks/hypercube.man +++ b/hacks/hypercube.man @@ -3,7 +3,8 @@ hypercube - 2d projection of a 4d object .SH SYNOPSIS .B hypercube -[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-color[0-7] \fIcolor\fP] [\-xy \fIfloat\fP] [\-xz \fIfloat\fP] [\-yz \fIfloat\fP] [\-xw \fIfloat\fP] [\-yw \fIfloat\fP] [\-zw \fIfloat\fP] [\-observer-z \fIint\fP] [\-window] [\-root] [\-mono] [\-delay \fIusecs\fP] +[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-color[0-7] \fIcolor\fP] [\-xy \fIfloat\fP] [\-xz \fIfloat\fP] [\-yz \fIfloat\fP] [\-xw \fIfloat\fP] [\-yw \fIfloat\fP] [\-zw \fIfloat\fP] [\-observer-z \fIint\fP] [\-delay \fIusecs\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] +[\-fps] .SH DESCRIPTION The \fIhypercube\fP program displays a wireframe projection of a hypercube which is rotating at user-specified rates around any or all of its four axes. @@ -20,48 +21,58 @@ Draw on the root window. .B \-mono If on a color display, pretend we're on a monochrome display. .TP 8 -.B \-delay microseconds +.B \-install +Install a private colormap for the window. +.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 \-delay \fImicroseconds\fP How much of a delay should be introduced between steps of the animation. Default 100000, or about 1/10th second. .TP 8 -.B \-observer-z int +.B \-observer-z \fIint\fP How far away the observer is from the center of the cube (the cube is one unit per side.) Default 5. .TP 8 -.B \-color0 color +.B \-color0 \fIcolor\fP .TP 8 -.B \-color1 color +.B \-color1 \fIcolor\fP .TP 8 -.B \-color2 color +.B \-color2 \fIcolor\fP .TP 8 -.B \-color3 color +.B \-color3 \fIcolor\fP .TP 8 -.B \-color4 color +.B \-color4 \fIcolor\fP .TP 8 -.B \-color5 color +.B \-color5 \fIcolor\fP .TP 8 -.B \-color6 color +.B \-color6 \fIcolor\fP .TP 8 -.B \-color7 color +.B \-color7 \fIcolor\fP The colors used to draw the line segments bordering the eight faces of the cube. Some of the faces have only two of their border-lines drawn in the specified color, and some have all four. .TP 8 -.B \-xw float +.B \-xw \fIfloat\fP .TP 8 -.B \-xy float +.B \-xy \fIfloat\fP .TP 8 -.B \-xz float +.B \-xz \fIfloat\fP .TP 8 -.B \-yw float +.B \-yw \fIfloat\fP .TP 8 -.B \-yz float +.B \-yz \fIfloat\fP .TP 8 -.B \-zw float +.B \-zw \fIfloat\fP The amount that the cube should be rotated around the specified axis at -each frame of the animation, expressed in radians. These should be small -floating-point values (less than 0.05 works best.) Default: xy=0.01, -xz=0.005, yw=0.01. +each frame of the animation, expressed in 0.001 radians. These should be small +floating-point values (less than 50 works best.) Default: xy=3, +xz=5, yw=10. +.TP 8 +.B \-fps +Display the current frame rate and CPU load. .SH ENVIRONMENT .PP .TP 8 @@ -83,4 +94,4 @@ 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 -Jamie Zawinski , 6-dec-92. +Jamie Zawinski , 6-dec-92.