Jmol/Quaternions

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 81: Line 81:
<jmol><jmolButton><script>q10 = @qr / 10;
<jmol><jmolButton><script>q10 = @qr / 10;
-
moveto 0 quaternion q0;delay 0.5;
+
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:42, 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