Does that mean Jmol has a chance on an iPad? That would be great.
All the best
Nick
Sent from my iPad
On 4 Oct 2010, at 18:15,
"jmol-users-requ...@lists.sourceforge.net<mailto:jmol-users-requ...@lists.sourceforge.net>"
<jmol-users-requ...@lists.sourceforge.net<mailto:jmol-users-requ...@lists.sourceforge.net>>
wrote:
Message: 2
Date: Sun, 3 Oct 2010 19:24:44 -0700
From: Greg Quinn <<mailto:qu...@sdsc.edu>qu...@sdsc.edu<mailto:qu...@sdsc.edu>>
Subject: [Jmol-users] Proof of concept of Jmol running in a web
browser through websockets
To:
"<mailto:jmol-users@lists.sourceforge.net>jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>"
<<mailto:jmol-users@lists.sourceforge.net>jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>>
Message-ID:
<<mailto:bafded91ef7d5a43a30f897d6c94b128cf62a02...@mbx.ad.sdsc.edu>bafded91ef7d5a43a30f897d6c94b128cf62a02...@mbx.ad.sdsc.edu<mailto:bafded91ef7d5a43a30f897d6c94b128cf62a02...@mbx.ad.sdsc.edu>>
Content-Type: text/plain; charset="us-ascii"
I've been playing around this weekend to see what whether HTML5 websockets
could be mated with molecular rendering running serverside. This has been
fairly easy to prototype with Jmol because of the nature of Jmol graphics (2D).
Turned out to be fairly straightforward to implement using the JWebSockets
server running in TomCat. Instead of passing a window/container's graphic
context to the viewer instance, I'm passing the context of an offscreen image
buffer, which is then converted to base64 and shunted down through the
websockets connection. This would be much more efficient without the base64
conversion but unfortunately the websockets implementations don't yet support
binary frames although spec does. Lots of further optimization to be done; my
interest is in its use for mobile browsers/platforms that don't support Java.
<http://www.youtube.com/watch?v=1wu5gOxQxcs>http://www.youtube.com/watch?v=1wu5gOxQxcs
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users