[IPython-dev] Fwd: [matplotlib-devel] OpenGL backend with Galry

Fernando Perez fperez.net@gmail....
Sat Nov 17 22:10:21 CST 2012


Hey folks,

impressive job by Cyrille Rossant after I gave him just a few quick
pointers on how the JSON handling and WebGL integration had to be set
up; this provides fast 2-d visualization in the notebook with a
matplotlib-like API but using WebGL for the rendering.

Cheers,

f


---------- Forwarded message ----------
From: Cyrille Rossant <cyrille.rossant@gmail.com>
Date: Sat, Nov 17, 2012 at 4:07 PM
Subject: Re: [matplotlib-devel] OpenGL backend with Galry
To: Fernando Perez <fperez.net@gmail.com>
Cc: matplotlib-devel@lists.sourceforge.net


>> Yup, it's a bit of a hack right now b/c you need to merge several
>> branches and tools that are still in review, but it's not too bad.
>>
>> You need to start from this branch:
>>
>> https://github.com/ellisonbg/ipython/tree/jsonhandlers
>>
>> and then grab this repo:
>>
>> https://github.com/ipython/jsplugins
>>
>> I would start by testing the d3graph plugin and verify that you can do
>> what I show here (watch ~ 40 seconds):
>>
>> http://www.youtube.com/watch?v=F4rFuIb1Ie4&t=40m0s
>>
>> That should give you the basics.  Then the webgl visualizer example is here:
>>
>> https://github.com/RishiRamraj/seepymol


OK so I now have a very experimental proof of concept of how
integrating Galry in the IPython notebook. There's a short demo here:
http://www.youtube.com/watch?v=taN4TobRS-E

I'll put the code on github but there's of course much more to do.

I'll also work on a basic matplotlib-like high-level interface that
will work in both standard python/ipython consoles, and in the IPython
notebook.

Cheers,
Cyrille


More information about the IPython-dev mailing list