Hi Fernando,

It would be really great if galry could be integrated in the notebook indeed. Is the code of this demo available somewhere, so that I can get an idea about how this integration works?

In theory, galry should be compatible with WebGL because one of the main components of galry is a shader code generator that can produce OpenGL ES-compatible GLSL code. Apart from that, I suppose you have some way of making Javascript and Python communicate? The interaction system of Galry, which is based on QT but with an abstraction layer, could then be plugged to Javascript somehow... Anyway, if I could take a look to the code of this demo, I should be able to evaluate how complicated this integration would be.

Cyrille

2012/11/16 Fernando Perez <fperez.net@gmail.com>
Hi Cyrille,

On Thu, Nov 15, 2012 at 11:24 AM, Cyrille Rossant
<cyrille.rossant@gmail.com> wrote:
> I am developing a high-performance interactive visualization package in
> Python based on PyOpenGL (http://rossant.github.com/galry/). It is primarily
> meant to be used as a framework for developing complex interactive GUIs (in
> QT) that deal with very large amounts of data (tens of millions of points).
> But it may also be used, like matplotlib, as a high-level interactive
> library to plot and visualize data.

quick question: how easy/feasible is WebGL integration?  I ask b/c
we're starting to get the necessary machinery for easy WebGL
visualization in the ipython notebook, see e.g.:

http://www.flickr.com/photos/47156828@N06/8183294725

so bringing galry to the notebook with minimal code duplication would
be great.  I just mention it now in case it helps you make design
decisions as you go along.

Cheers,

f