It would be nice to have a CIF reader; createRadialGradient() is great. I'll look into that. If you would like to help, Simon, feel free to adapt JSmolTM.js to incorporate some of this.

Bob



On Fri, Mar 29, 2013 at 10:52 AM, <sw@publcif.co.uk> wrote:
Just found this while looking for the answer to another unrelated question
(see below). Coincidentally I've been working on much the same sort of thing -
i.e. a quick 'first view' with the option to load the full Jsmol on demand,
for use on the IUCr's 3d view pages. Its based on GLmol as a model -
basically I've pinched the 'know how' with respect to manipulating a
3d model on the 2d canvas - and I will probably pinch stuff from
elsewhere before I'm done :-)
but I hope that it at least demonstrates that you can still get some
quite nice graphics using the 2d canvas and minimal functionality.
Anyway, there's a version at http://cif.publcryst.co.uk/cifmoldb/smol/
if you're interested.

The original question was related to jsmol - does jsmol add some
properties to the javascript array object?

Cheers

Simon Westrip


Quoting Robert Hanson <hansonr@stolaf.edu>:

> How about this?
>
> http://chemapps.stolaf.edu/jmol/jsmol/lite3.htm
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>



------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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