glsnake(6)

glsnake6

Opengl enhanced rubik's snake cyclewaster.

Usage

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]

Overview

glsnake is an imitation of Rubiks´ Snake, using OpenGL.

Options

glsnake accepts the following options:

--window

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

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--install

Install a private colormap for the window.

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

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

-angvel angular

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

-explode distance

Change the distance between the nodes of a snake.

--statictime milliseconds

Change the time between morphs.

--yangvel angle

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

--zangvel angle

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

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.

Bugs

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

The rotation/camera position sucks.

Author

Jamie Wilkinson <[email protected]>, Andrew Bennetts <[email protected]>, and Peter Aylett <[email protected]>. Ported to XScreenSaver by Jamie Wilkinson.

From xscreensaver 6.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.