Jmol/Quaternions

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 80: Line 80:
<jmol><jmolButton><script>q10 = @qr / 10; rotate @q10</script><text>rotate one tenth</text></jmolButton></jmol>
<jmol><jmolButton><script>q10 = @qr / 10; rotate @q10</script><text>rotate one tenth</text></jmolButton></jmol>
-
<jmol><jmolButton><script>q10 = @qr / 10;
+
<jmol><jmolButton><script>q10 = @qr / 10;
 +
moveto 0 quaternion q0;delay 0.5;
qn = q10 * q0; moveto 0.2 quaternion @qn;
qn = q10 * q0; moveto 0.2 quaternion @qn;
qn = (q10 * 3) * q0; moveto 0.2 quaternion @qn;
qn = (q10 * 3) * q0; moveto 0.2 quaternion @qn;

Revision as of 18:40, 25 July 2019

Drag the structure with the mouse to rotate

Resources

http://sacredsoftware.net/tutorials/quaternion.html

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools