User:Karsten Theis/reset button: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<StructureSection load='' size='340' side='right' caption='' scene='82/822045/Dna/1'> | <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>constant speed reset (4 sec for max rotation, but at least 0.1 sec)</text></jmolButton></jmol> | <text>constant speed reset (4 sec for max rotation, but at least 0.1 sec)</text></jmolButton></jmol> | ||
| Line 11: | Line 11: | ||
<text>instant reset </text></jmolButton></jmol> | <text>instant reset </text></jmolButton></jmol> | ||