User:Karsten Theis/Animation course

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 153: Line 153:
Select a transition speed: <jmol><jmolLink><script>speed = "moveto 0.2"</script><text>0.2 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 1.0"</script><text>1 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 4.0"</script><text>4 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 10.0"</script><text>10 sec</text></jmolLink> </jmol>
Select a transition speed: <jmol><jmolLink><script>speed = "moveto 0.2"</script><text>0.2 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 1.0"</script><text>1 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 4.0"</script><text>4 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 10.0"</script><text>10 sec</text></jmolLink> </jmol>
-
<jmol><jmolLink><script>script inline @{speed + x2}; delay 0.2; script inline @{speed + x3}; delay 0.2; script inline @{speed + x4}; delay 0.2; script inline @{speed + x1}; delay 0.2; </script><text>start animation</text></jmolLink></jmol>
+
The following animation brings you to view 1, then 2, 3, and 4
 +
<jmol><jmolLink><script>script inline @{speed + x1}; delay 0.2; script inline @{speed + x2}; delay 0.2; script inline @{speed + x3}; delay 0.2; script inline @{speed + x4}; delay 0.2; </script><text>start animation</text></jmolLink></jmol>
Show the underlying commands
Show the underlying commands
Line 189: Line 190:
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp1} -2; ROTATE COMPARE {BF0} @{temp2} -2; ROTATE COMPARE {BF0} @{temp3} -2; ROTATE COMPARE {BF0} @{temp4} -2;</script><text>dissociate</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp1} -2; ROTATE COMPARE {BF0} @{temp2} -2; ROTATE COMPARE {BF0} @{temp3} -2; ROTATE COMPARE {BF0} @{temp4} -2;</script><text>dissociate</text></jmolLink></jmol>
 +
 +
Show the animation script:
 +
<jmol><jmolLink><script>console; show temp0; show temp1; show temp2; show temp3; show temp4; echo "ROTATE COMPARE {BF0} @{temp1} -2"; echo "..etc for the other states";</script><text>show animation script</text></jmolLink></jmol>
 +
==Collection of molecules==
==Collection of molecules==

Revision as of 19:21, 13 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools