AH, yes. 2D. That's a good idea. We have to do that. Remember that now we
have an HTML "blank slate" that is the size of the applet and can be
swapped for the applet any time using:

jmolApplet0._info = "some info"
Jmol.showInfo(jmolApplet0, true)


If "some info" happens to be a 2D drawing applet/canvas for 2D input, all
we would need would be a little glue to tie it together with Jmol. This
would be quite easy to do, I think. That way you could have a 2D input
mechanism that swaps in and out for the applet and would result in a 2D->3D
conversion on any platform. That could be very nice.

Looks like I should add to JmolApi.js:

    Jmol.setInfo = function(applet, info, isShown) {
        applet._info = info;
        if (arguments.length > 2)
            applet._showInfo(isShown);
    }

    Jmol.getInfo = function(applet) {
        return applet._info;
    }


On Tue, Jun 12, 2012 at 3:25 AM, Angel Herráez <[email protected]> wrote:

> Bob,
>
> This is a bit outdated, but I did some review of available 2D drawing
> alternatives --AFAIK none of them did 3D --except ChemDoodle
> and they are all html+javascript
> http://biomodel.uah.es/en/DIY
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> 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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to