Hi Cyrille,

On Fri, Nov 16, 2012 at 1:00 PM, Cyrille Rossant
<cyrille.ross...@gmail.com> wrote:
> 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.

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

Cheers,

f

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to