Home > pyGLox

pyGLox

PyGLox is a project mainly written in ..., based on the MIT license.

pyGLet wrapper suitable for rapid prototyping.

pyGLox

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.

Dependencies

  • 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)

pyMedia

  • 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 )
  • music
    • Grapes - I dunno
    • Sinatra - Electric Gumpop (used in the included real time demo)
    • Vincenzo - Compofiller

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.

pyDemo

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)

Contribute

  • Fork the project.
  • Make your feature addition or bug fix.
  • Send me a pull request. Bonus points for topic branches.

License

Copyright (c) 2011, Mihail Szabolcs

pyGLox is provided as-is under the MIT license. For more information see LICENSE .

Previous:Hello-World