NAMEpolyhedra - draws the 80 uniform polyhedra and their duals
SYNOPSISpolyhedra [-display host:display.screen] [-visual visual] [-window] [-root] [-delay number] [-speed float] [-duration seconds] [-no-wander] [-spin XYZ] [-wireframe] [-no-titles] [-which name] [-wireframe] [-fps]
DESCRIPTIONThis program renders 160 different 3D solids, and displays some information about each. A new solid is chosen every few seconds.
There are 75 uniform polyhedra, plus an inifinite number of prisms and antiprisms:
* Convex Uniform Polyhedra:
* Platonic solids (5)
* Archimedean solids (13)
* Convex prisms and antiprisms (2 infinite families)
* Nonconvex Uniform Polyhedra:
* Kepler-Poinsot polyhedra (4)
* Nonconvex uniform polyhedra (53)
* Nonconvex prisms, antiprisms, and crossed antiprisms
(3 infinite families)
Representative samples of the prism sets brings the total to 80 solids. Including the dual of each brings the total up to 160. (To create the "dual" of a polyhedron, faces are replaced with vertices, and vertices with faces.)
- -visual visual
- 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.
- Draw on a newly-created window. This is the default.
- Draw on the root window.
- -delay number
- Per-frame delay, in microseconds. Default: 30000 (0.03 seconds.).
- -speed number
- Larger numbers mean run faster. Default: 1.0.
- -duration seconds
- How long before switching to a new polyhedron. Default 12 seconds.
- -wander | -no-wander
- Whether the objects should wander around the screen.
- -spin [XYZ] | -no-spin
- Which axes, if any, to spin around on.
- -titles | -no-titles
- Whether to display text describing each object.
- -which object-name
- Display only one particular object, identified by number, name, or Whthoff symbol.
- -wireframe | -no-wireframe
- Render in wireframe instead of solid.
- Display the current frame rate, CPU load, and polygon count.
KEY BINDINGSWhen running in a window, you can rotate the object with the mouse. Also, the following keystrokes are defined:
- SPC or TAB
- Select a new polyhedron at random.
- + or >
- Select the next-higher-numbered polyhedron.
- - or <
- Select the next-lower-numbered polyhedron.
- ESC or ^C
- to get the default host and display number.
- to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSOX(1), xscreensaver(1)
COPYRIGHTCopyright © 1991-2002 Dr. Zvi Har'El.
Copyright © 2004 Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice 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.
AUTHORBased on the program kaleido ("Kaleidoscopic construction of uniform polyhedra"), by Dr. Zvi Har'El <firstname.lastname@example.org>
Adapted for OpenGL and XScreenSaver by Jamie Zawinski, 2004.