User:Karsten Theis/reset button: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<StructureSection load='2bna' size='340' side='right' caption='' scene=''> | <StructureSection load='2bna' size='340' side='right' caption='' scene=''> | ||
<jmol><jmolButton><script>q1 = {0 0 0 1};q2 = quaternion(); | <jmol><jmolButton><script>q1 = {0 0 0 1};q2 = quaternion();theta = 2 * acos(q2.w);d = theta / 200 + 0.1;moveto @d quaternion @q1; </script> | ||
<text>reset | <text>slow reset</text></jmolButton></jmol> | ||
<jmol><jmolButton><script>q1 = {0 0 0 1}; moveto 0 quaternion @q1; </script> | |||
<text>instant reset </text></jmolButton></jmol> | |||
</StructureSection> | </StructureSection> | ||
== References == | == References == | ||
<references/> | <references/> | ||