the glsnake assimilation project
The glsnake
mission: glsnake
on every desktop.
glsnake
is an imitation of Rubiks’ Snake. The snake is made up of 24 triangular prisms (half-cubes) connected on the square faces by a rotational joint. The snake may be rotated and manipulated into a variety of shapes.
“I think a lot of the basis of the open source movement comes from procrastinating students.”
glsnake
was written originally by Andrew Bennetts and Peter Aylett for the Allegro graphics library. Later, Jamie Wilkinson appeared and ported the code to use OpenGL. The code has gradually been improved over the months following.
Currently, glsnake
has an interactive mode where you can create your own models, colour highlighting of different model classes, as well as mouse support.
It also has been ported to XScreensaver. The screensaver version is non-interactive, but does attempt to load locally created models made with the interactive toy version.
Controls
- Use the right mouse button to drag the object to a new orientation.
- ‘i’ will toggle interactive mode.
- Once in interactive mode, use the cursor keys to select a joint and rotate it. The home key resets to the straight snake.
- ‘q’ will quit.
- ’s’ will toggle sane normals against some weird normals.
- ‘w’ will toggle wireframe mode.
- ’e’ and ‘E’ change the explode distance.
Download
glsnake
is available to you all under the GNU General Public License.
The source code is available from GitHub. The latest stable release can be downloaded from here.
Thanks to Peter Aylett there are also some Windows binaries: an MSI installer without Windows Installer files (544kB) and a Setup file with Windows Installer files (3,782kB). Try the MSI first, and if that doesn't work then try the other one.
Send any patches or suggestions to Jamie Wilkinson