the glsnake assimilation project
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.
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.
- 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.
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.
Send any patches or suggestions to Jamie Wilkinson