While these software are certainly outdated and may not run on modern linux distributions, they may be useful for code study. Of course, you're welcome to adapt them and send me the new code...


GLPython, an OpenGL oriented python shell

glpython is an OpenGL oriented python shell designed for efficient interactive work with all major GUI toolkits in a non-blocking manner as well as a library to build customized OpenGL objects using python as the basic language. GLPython relies on backends such as GTK, WX, SDL or Qt that are able to open an OpenGL context and handle keyboard and mouse events when necessary

images/glpython.png

PyCons, GTK python console

pycons implements a python (or ipython) shell within a GTK window and handles python stdin/stderr/stdout redirection and system wide stdout/stderr redirection (using a pipe), provides history based on the GNU readline package and automatic completion. It is also able to display matplotlib figures inline. Each call to the show functions actually produces a FigureCanvasGTKAgg that is inserted within the console. A 'replot' command has been added that replot the last figure.

images/pycons.png

SDL Terminal

SDL Terminal is a library that allows to have a pseudo-ansi color terminal that can be used with any SDL application (with or without OpenGL). The internal terminal surface is an SDL surface that is mapped to a texture when OpenGL is used (and then it is quite simple to use the texture to map it on any GL surface, like in the glcube example from distribution). Any user input raises an SDL_TERMINALEVENT that can be catched like any other SDL event and the event structure holds the user actual input.

images/SDL-terminal-1.png images/SDL-terminal-2.png

Boom !

Boom is a partial port of a Delphi/OpenGL demo made by Thomas Jahn. I only ported the particle engine to C++/SDL/OpenGL to get the very nice explosion Thomas designed. The soft is called "boom" since it basically displays an explosion every 5 seconds (with sound). It requires SDL and OpenGL libraries and it is supposed to be working indifferently on linux, mac os or windows (using DevC++).

images/boom.gif

GTK Object view

GTK Object view uses Python self introspection capability to display any object attributes with the possibility to edit them and supports undo/redo operations.

images/gtk-object-view.png

Kohonen maps

Kohonen is an old version of the self-organizing map (SOM). This one has been coded in C++ and run under windows or linux.

images/kohonen-old.png

Pets

Pets is a port of an old program by Masayuki Koba where a cute tiny kitty was following your mouse all over the screen. This new version is base on gtk and uses an xml description for animations. There is also another animation with a tiny tux (see the Artwork section for povray sources).

images/pets-1.png images/pets-2.png