pyGLox is a small wrapper over the PyGLet family by abstracting and providing some high-level interfaces for things like "Render Targets" (FBO), "Textures" and "GLSL Shaders", basic "Geometry", "Audio" and others.
It's ideal for rapid prototyping new and interesting ideas, or writing real time visual demos as shown in the included example.
- Pyglet (required)
- NumPy (required)
- BASS audio library (semi-required, see below)
- Echo Nest Remix API (optional, see below)
- OpenCV (optional, see below)
I didn't use pyBASS, wrote my own light-weight ctypes bindings and therefore it is not truly portable as of now and it needs a little bit of work in order to make it work under non-linux (what a hell of a word sighs) platforms.
(look inside sandbox/bass.py for more juicy details)
The Echo Nest Remix API is needed ONLY if you want to extract beats from your own songs.
(look inside sandbox/echonestaudio.py for more goofy details)
OpenCV is needed ONLY if you intend to capture images from your WebCam and use them as textures.
(look inside sandbox/webcam.py for more dirty details)
- textures - various textures gathered from all over the place ( creative commons )
- shaders - some basic GLSL shaders written specifically for the included
demo( creative commons )
- geometry - various models gathered from all over the place ( creative commons )
If you are the author of any of these and you have any concerns regarding the distribution or use of these media, please drop me a line and I'll take the necessary actions / steps.
Curious? See this video about the included real time demo.
(if you are brave enough look inside demo.py for the real thing a.k.a source code)
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request. Bonus points for topic branches.
Copyright (c) 2011, Mihail Szabolcs
pyGLox is provided as-is under the MIT license. For more information see LICENSE .