An attempt to demonstrate various OpenGL 3.2+ techniques, providing a clean python library simplifying many of OpenGL's functions.
Written in python 2.7. This thing has been tested on OS X Yosemite, and nowhere else.
Usage: python spectree.py [-w] [-spectrum] [-xmas]
- -w runs in window mode.
- -spectrum pulses a spectrum
- -xmas makes a 4-color christmas tree display
- by default listens to the default microphone and bases the light show on an FFT
Potato-quality video of it running in FFT mode
transforms.py
comes from Vispytransformations.py
and its accompanying .so library come from Christoph Golke- Code was adapted from Adventures in PyOpenCL: Part 2, Particles with PyOpenGL
- The
ub_binding_count
code inBoarGL/glbase.py
is sketchy as hell, but it seems to work