logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

polyhedra - draws the 80 uniform polyhedra and their duals

Author

       Based on the program kaleido ("Kaleidoscopic construction of  uniform  polyhedra"),  by  Dr.  Zvi  Har'El
       <rl@math.technion.ac.il>
       https://web.archive.org/web/20040807023850/https%3A//www.math.technion.ac.il/kaleido/

       Adapted for OpenGL and XScreenSaver by Jamie Zawinski, 2004.

X Version 11                                   6.08 (10-Oct-2023)                                  polyhedra(6x)

Description

       This  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.)

Environment

DISPLAY to get the default host and display number.

       XENVIRONMENT
               to  get  the  name  of  a  resource  file  that  overrides  the  global  resources  stored in the
               RESOURCE_MANAGER property.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Key Bindings

       When running in a window, you can rotate the object with the mouse.  Also, the following  keystrokes  are
       defined:

       SPCorTAB  Select a new polyhedron at random.

       +or>      Select the next-higher-numbered polyhedron.

       -or<      Select the next-lower-numbered polyhedron.

       ESCor^C   Quit.

Name

       polyhedra - draws the 80 uniform polyhedra and their duals

Options

--visualvisual
               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.

       --window
               Draw on a newly-created window.  This is the default.

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --delaynumber
               Per-frame delay, in microseconds.  Default: 30000 (0.03 seconds.).

       --speednumber
               Larger numbers mean run faster.  Default: 1.0.

       --durationseconds
               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.

       --whichobject-name
               Display only one particular object, identified by number, name, or Whthoff symbol.

       --wireframe|--no-wireframe
               Render in wireframe instead of solid.

       --fps   Display the current frame rate, CPU load, and polygon count.

See Also

X(1), xscreensaver(1)

Synopsis

polyhedra  [--display  host:display.screen]  [--visual  visual]  [--window] [--root] [--window-id number]
       [--delay number] [--speed float] [--duration seconds] [--no-wander]  [--spin  XYZ]  [--wireframe]  [--no-
       titles] [--which name] [--wireframe] [--fps]

See Also