Yes.  I like that better.  Very nice.  How would one make it so that if you 
turn spinning on that is synced in this way too.


***********************************************
Jeff Hansen
Department of Chemistry and Biochemistry
DePauw University
602 S. College Ave.
Greencastle, IN 46135
[email protected]
***********************************************


On Oct 26, 2012, at 2:10 PM, Robert Hanson wrote:

> Well, you can adjust it any way you want. That might be a nice touch. OK. 
> I'll try that... Yes, that's better now -- I think our brain does much better 
> with a vertical mirror plane. I also applied a rotation about x of 180o for 
> the inverted model. That seems to be nice now.
> 
> On Fri, Oct 26, 2012 at 12:27 PM, Jeff Hansen <[email protected]> wrote:
> Nice, but the effect is not quite right.  If you rotate horizontally, the 
> molecules mirror each other, but when you rotate it vertically the synced 
> molecule rotates the opposite direction so the molecules don't mirror each 
> other any more.  Imagine if you held your hand up to a mirror and moved it 
> back and forth horizontally and the reflection moved with it, but when you 
> moved your hand up the reflection moved down.  Seems kind of weird.
> 
> 
> ***********************************************
> Jeff Hansen
> Department of Chemistry and Biochemistry
> DePauw University
> 602 S. College Ave.
> Greencastle, IN 46135
> [email protected]
> ***********************************************
> 
> 
> On Oct 26, 2012, at 1:09 PM, Robert Hanson wrote:
> 
>> take a look at http://chemapps.stolaf.edu/jmol/docs/examples-12/sync2i.htm
>> 
>> On Fri, Oct 26, 2012 at 11:14 AM, Carl R LeBlond <[email protected]> wrote:
>> Bob,
>> Yes exactly, I want to show my kids enantiomers.  I'm a bit of a hack
>> and not the greatest at javascript.  I played around with some
>> javascript call back tutorials, then realized I should probably just
>> do something like this using the syncCallback method, but it was
>> unsuccesful.  I'm tyring to turn sync on and off with checkbox.  Its
>> probably obvious, so thanks for your patience.
>> 
>> 
>> function sync() {
>>  var syncing = document.getElementById("drive").checked
>>  if(syncing)
>>    jmolScript('sync * ON; sync * "set syncMouse on;set syncScript on;
>> set syncCallback mysynccallback"','A')
>>  else
>>    jmolScript('sync * OFF','A')
>> }
>> 
>> function mysynccallback(app, script) {
>>   if (script.indexOf("Mouse: rotateXYBy") == 0) {
>>     var S = script.split(" ");
>>     S[2] = -parseFloat(S[2]);
>>     S[3] = -parseFloat(S[3]);
>>     script = S.join(" ")
>>   }
>>   return script
>> }
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> The Windows 8 Center
>> In partnership with Sourceforge
>> Your idea - your app - 30 days. Get started!
>> http://windows8center.sourceforge.net/
>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
>> _______________________________________________
>> 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
>> 
>> 
>> ------------------------------------------------------------------------------
>> The Windows 8 Center 
>> In partnership with Sourceforge
>> Your idea - your app - 30 days. Get started!
>> http://windows8center.sourceforge.net/
>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/_______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> ------------------------------------------------------------------------------
> The Windows 8 Center
> In partnership with Sourceforge
> Your idea - your app - 30 days. Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
> _______________________________________________
> 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
> 
> 
> ------------------------------------------------------------------------------
> The Windows 8 Center 
> In partnership with Sourceforge
> Your idea - your app - 30 days. Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to