Re: [Jmol-users] HTML5 and WebGL

2010-07-15 Thread Jeff Hansen
Can you imagine the response you would have received even just 5 years ago if 
you had complained because your phone didn't do Java?  I would guess that in 
another 5 years or so the response will be similar.


***
Jeff Hansen
Department of Chemistry and Biochemistry
DePauw University
602 S. College Ave.
Greencastle, IN 46135
jhan...@depauw.edu
***


On Jul 15, 2010, at 2:40 AM, Egon Willighagen wrote:

> I hate the one I do not have: it does not do Java...

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] HTML5 and WebGL

2010-07-14 Thread Egon Willighagen
On Thu, Jul 15, 2010 at 5:04 AM, Robert Hanson  wrote:
> Can someone explain to me how the combination of HTML5 and WebGL is a
> replacement for Java?

It is not so much the Java language as it is the Applet design... the
applet concept requires a plugin to be installed (with the Java VM),
while a JavaScript VM comes by default with any browser... (yes, if
only they had made BeanShell the scripting language... or Groovy, or
...)

> Is the idea there that HTML5 somehow (via on-the-fly compiling? via
> pre-compiled equivalents of Java?) can reach the sort of speeds that people
> need for molecular graphics? Or is this just a dream? I'm just not finding
> anything out there that suggests it's any more than JavaScript with a 3D
> canvas. It's true that it would be nice to have built-in 3D graphics, and I
> can see how in some limited fashion this could be useful, but there's a lot
> besides rendering that is done in the process of molecular visualization.
> Construct an MO? Apply symmetry?

I fully agree that the JavaScript versions have not catched up with
Jmol, and with your speed, they will find it hard to keep up too :)

But, the point is that the applet environment is getting dated... not
much new developments there... no race between Google, Nokia, Apple,
Mozilla Foundation to produce the fastest VM...

JChemPaint faces the same 'problem'... will it get overtaken by
JavaScript solutions...

> Mind you, I like my iPhone. It's a great phone.

I hate the one I do not have: it does not do Java...

Egon

-- 
Post-doc @ Uppsala University
Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg
Homepage: http://egonw.github.com/
Blog: http://chem-bla-ics.blogspot.com/
PubList: http://www.citeulike.org/user/egonw/tag/papers

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] HTML5 and WebGL

2010-07-14 Thread Robert Hanson
Can someone explain to me how the combination of HTML5 and WebGL is a
replacement for Java?

Is the idea there that HTML5 somehow (via on-the-fly compiling? via
pre-compiled equivalents of Java?) can reach the sort of speeds that people
need for molecular graphics? Or is this just a dream? I'm just not finding
anything out there that suggests it's any more than JavaScript with a 3D
canvas. It's true that it would be nice to have built-in 3D graphics, and I
can see how in some limited fashion this could be useful, but there's a lot
besides rendering that is done in the process of molecular visualization.
Construct an MO? Apply symmetry?

By the way, I have played some with the free Molecules app for the iPhone.
Someone recently mentioned that as a proof of concept that this can all be
done on a phone. However, I'm not so sure. Yes, you can do graphics. Nothing
particularly awesome about that. It's processing power for calculation that
one needs here. I wonder what the limitations of that really are. How large
a molecule has anyone gotten to work on that? Is it just eye-candy?

I tried 2x9r (58K atoms), and after it downloaded (2-3 minutes), half way
through rendering the app crashed. When I started it again, it was able to
finish rendering, but the user response is not usable. Any user interaction
takes about 10 seconds to process. This is even though the atoms are simply
icosahedra, and bonds are hexagonal cylinders.

Mind you, I like my iPhone. It's a great phone.

Bob

-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users