[IPython-dev] Notebook + WebGL = Molecule Drawer?
Brian Granger
ellisonbg at gmail.com
Mon Mar 18 21:40:18 EDT 2013
Patrick,
Hi, this is really exciting to see people doing things like this. This
Fall we will be working on our APIs for this stuff - we are hoping to make
it easier - please keep in touch as things move forward.
Cheers,
Brian
On Mon, Mar 18, 2013 at 5:20 PM, Patrick Fuller <patrickfuller at gmail.com>wrote:
> Hi everyone,
>
> I was at Pycon yesterday and saw a really cool IPython notebook + HTML5
> talk by Matt Davis. Motivated by the talk, I was curious to see if I could
> get WebGL running via three.js, so I went ahead and wrote an interactive
> molecule viewer.
>
> [image: Inline image 1]
>
> FYI, it's a lazy first-pass port of another molecule viewer I wrote<http://www.patrick-fuller.com/molecule-viewer-alpha/>,
> which is itself a lazy first pass at learning webGL... which leads me to
> some questions :-)
>
> -
>
> I'm confident that I'm misusing the Javascript and HTML objects. The
> Javascript docstring talks about a generated element object, but I
> couldn't get jQuery to bind to it. My current selector is
> "div.molecule", which runs into some fairly obvious problems when you
> draw more than one molecule.
> -
>
> I have no idea what the javascript variable scopes look like. Am I in
> danger of overwriting something important to IPython?
>
> Also, is there any general interest out there in exploring ipython
> notebook + webgl further? Are there other projects that do so?
>
> Thanks for hearing me out (and working on such a cool open-source
> project!),
> Pat
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130318/088794ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 159383 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130318/088794ea/attachment.png>
More information about the IPython-dev
mailing list