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

glsnake - OpenGL enhanced Rubik's Snake cyclewaster.

Author

       Jamie  Wilkinson  <jaq@spacepants.org>,  Andrew  Bennetts   <andrew@puzzling.org>,   and   Peter   Aylett
       <peter@ylett.com>.  Ported to XScreenSaver by Jamie Wilkinson.

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

Bugs

       The snake will happily intersect itself while morphing (this is not a bug).

       The rotation/camera position sucks.

Description

glsnake is an imitation of Rubiks´ Snake, using 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

       glsnake - OpenGL enhanced Rubik's Snake cyclewaster.

Options

glsnake accepts the following options:

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

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --install
               Install a private colormap for the window.

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

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

       --wireframe
               Display the snake in wireframe mode, rather than the default solid mode.

       --altcolour
               Use the alternate colour scheme for  the  snake.   Shape  identification  using  colour  will  be
               disabled.

       -angvelangular
               Change the speed at which the snake morphs to a new shape.

       -explodedistance
               Change the distance between the nodes of a snake.

       --statictimemilliseconds
               Change the time between morphs.

       --yangvelangle
               Change the angle of rotation around the Y axis per frame.

       --zangvelangle
               Change the angle of rotation around the Z axis per frame.

See Also

X(1), xscreensaver(1),
       https://spacepants.org/src/glsnake/

Synopsis

glsnake  [--display  host:display.screen]  [--window]  [--root]  [--window-id  number]  [--visual visual]
       [--delay microseconds]  [--fps]  [--wireframe]  [--altcolour]  [--angvel  angular]  [--explode  distance]
       [--statictime milliseconds] [--yangvel angle] [--zangvel angle]

See Also