[Jmol-users] to Miguel
Twenty-three left shift plus one, He makes our beautious Jmol run. With many thanks and loads of praise, to Him today this glass I raise. To find a coder so enlightened, it almost makes me slightly frightened, But, no, in truth I cannot write a single tiny bit or byte That would disparage one so swell as Who in silico we call Miguel. So join me now to fete Miguel, His virtual self we know so well, I challenge you to write more lines, of any sort or any kinds. Happy Birthday, Miguel!! Bob Hanson --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] applet -- callback brainstorming
Bob Hanson a écrit : AS A USER, WHAT DO YOU WANT? a) Do you implement callbacks? If so, which ones? With chime, I use messagecallback and pickcallback. I use message callback to get informations such as : model sequence, names of residues or chains in a selection, end of a script, number of atoms currently selected. I use pick callback to get atoms details, measurements, and allow labeling of a specified atom by clicking. At present, with Jmol I only use message callback to get informations about the proper execution of a script. b) What WOULD you use if you had it available? sequences, content of a selection. c) What sort of information (exactly) are you looking for? residues names and numbers, chains IDs, biochemical type of a chain (DNA, RNA, protein), atoms IDs/type/residue/chain d) Is there a particular format that you would like to see, other than just the current text-stream of messages? It would be far better not to have to parse the text stream. Any kind of javascript object/array would be handfull e) Is it important to you that this mechanism be backward compatible? No. I think that for interactive interactions such as clicks or knowing when the applet is ready, the current callback method does the job well. To get more complex properties, your method seems to be more appropriate Regards, Paul --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] applet -- callback brainstorming
Hi Bob, AS A USER, WHAT DO YOU WANT? a) Do you implement callbacks? If so, which ones? AnimFrame to synchronize other Javascript functions with an animation Pick to identify atoms, in particular in our molecule editor Message to return measurements, now largely replaced by monitors though b) What WOULD you use if you had it available? This pretty much serves our needs. Although we do a lot of other things in scripts that are not directly related to callbacks. You suggested reading the second line of an XYZ file, but this can be done by a script outside Jmol as well, where the results are being processed. c) What sort of information (exactly) are you looking for? d) Is there a particular format that you would like to see, other than just the current text-stream of messages? e) Is it important to you that this mechanism be backward compatible? Well yes. We could always maintain a current version of Jmol of course, in case we don't find the time to rewrite our pages. (I wish I had your efficient way of working.) Greetings, Hens --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users