This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.
User:Karsten Theis/reset button
From Proteopedia
< User:Karsten Theis(Difference between revisions)
| (5 intermediate revisions 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> | + | <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 | + | <jmol><jmolButton><script>q1 = {0 0 0 1}; moveto 4 quaternion @q1; </script> |
| - | <text> | + | <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> | ||
| + | |||
Current revision
Timed rotation
| |||||||||||
