User:Karsten Theis/reset button: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Timed rotation== | ==Timed rotation== | ||
<StructureSection load=' | <StructureSection load='' size='340' side='right' caption='' scene='82/822045/Dna/1'> | ||
<jmol><jmolButton><script>q1 = {0 0 0 1};q2 = quaternion();theta = 2 | <jmol><jmolButton><script>q1 = {0 0 0 1};q2 = quaternion();theta = q2%-2;d = theta / 45 + 0.1;moveto @d quaternion @q1; </script> | ||
<text> | <text>constant speed reset (4 sec for max rotation, but at least 0.1 sec)</text></jmolButton></jmol> | ||
<jmol><jmolButton><script>q1 = {0 0 0 1}; moveto 4 quaternion @q1; </script> | |||
<text>constant duration reset (always 4 sec) </text></jmolButton></jmol> | |||
<jmol><jmolButton><script>q1 = {0 0 0 1}; moveto 0 quaternion @q1; </script> | <jmol><jmolButton><script>q1 = {0 0 0 1}; moveto 0 quaternion @q1; </script> | ||
<text>instant reset </text></jmolButton></jmol> | <text>instant reset </text></jmolButton></jmol> | ||
<scene name='82/822045/Dna/1'>Initial orientation</scene> | |||
</StructureSection> | </StructureSection> | ||
== References == | == References == | ||
<references/> | <references/> | ||