the glsnake assimilation project
glsnake on every desktop.
GLSNAKE IN THE NEWS
If the above URLs aren't clear enough,
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."
-- Andrew Tridgell
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.
- '+' and '-' change the speed of rotation.
glsnake is available to you all under the GNU General Public License.
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.