Craig T Martin wrote:
Very cool. Works fine on my system-up-to-date Mac.
An issue though. At least in your current implementation, with sync
"on" all align to the same intrinsic reference frame. That's desirable
for some situations. However, if I have for example coords for A-form
and D-form DNA, I'll want to independently set their views (with, for
example, the central major groove facing the user) and then turn on a
"relatively" sync'ed rotation. As you have it, if the structures don't
start out with major grooves oriented similarly (from their coord
files), then sync'ing will put them "out of sync." Did I muddle that?
You got that right. All one applet is sending to the other is a moveTo
command with a 100 ms motion timespan. There's a trigger that doesn't
get pulled for 100 ms, so rapid mouse motion doesn't trip thousands of
messages.
So what you are suggesting is some sort of rotational transform that
is APPLIED to a view. Something tells me that can be done with Euler
angles (what this is). For example, given the current Euler angle X
and the previous X', determine f(X') = X, then apply f in the other
applets. I'm guessing that's not too difficult. I'll check my book on
Euler angles here. I know Miguel is fond of these... :)
I do realize that I could first align them in another program and then
spit out aligned coordinates, but...
nah, nah -- this would be fun.
Thanks for all of the recent innovation! Amazing and appreciated. At
the moment, I'm too swamped with other things to do anything but watch
from the sidelines, but when I get time again, I'll enjoy playing with
the wealth of new options.
Great. I'm finding "connect" and "measure" with atom sets and
distances extraordinarily useful, myself.
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users