Swarm visualization using Python and OpenGL
- Python (tested with 2.5)
- PyOpenGL http://pyopengl.sourceforge.net/ Debian package is called python-opengl
Execute the script and supply the coordinates as floats in the form of one triplet per line via standard input. If a line contains the string 'done', the entities since the last done (or startup) are displayed on the screen.
The code is based on ksmt's example code, which can be downloaded from http://opengl20.blogspot.com/2008/05/writing-x-y-and-z-axis.html