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

glhanoi - OpenGL Towers of Hanoi

Author

       Dave Atkinson.

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

Description

       Implementation of Towers of Hanoi in OpenGL

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.

Name

       glhanoi - OpenGL Towers of Hanoi

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

       --countnumber
               Number of disks.  Default: 7.

       --polesnumber
               Number of poles.  Default: random from 3 to disks+1.

       --speednumber
               Speed multiplier (for smallest disks).  Default: 1.

       --trailsnumber
               Length of disk trails, in seconds.  Default: 2.

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

       --fog|--no-fog
               Render in fog.

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

       --light|-no-light
               Whether the scene is lit.

       --texture|--no-texture
               Render with textures instead of solid.

See Also

X(1), xscreensaver(1)

Synopsis

glhanoi  [--display  host:display.screen]  [--visual  visual]  [--window]  [--root]  [--window-id number]
       [--delay number] [--count number] [--poles number] [--speed number] [--wireframe]  [--light]  [--texture]
       [--fog] [--fps]

See Also