User:Karsten Theis/Animation course

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
===Load the scene and choose a look===
===Load the scene and choose a look===
-
Open <scene name='52/520489/Ligand_pocket/2'>mu opioid receptor</scene> and use the [[viewing guide]] to explore the scene.
+
Open <jmol><jmolLink><script>script "http://proteopedia.org/scripts/52/520489/Ligand_pocket/2.spt"; x1 = script("show moveto")[11][0]; rotate y 90; x2 = script("show moveto")[11][0]; rotate x -90;x3 = script("show moveto")[11][0]; rotate z -180;x4 = script("show moveto")[11][0]; speed = "moveto 2.0"; script inline @{speed + x1}</script><text>mu opioid receptor</text></jmolLink></jmol> and use your skills learned from the [[viewing guide]] to explore the scene.
Choose a background
Choose a background
Line 60: Line 60:
Go to different views:
Go to different views:
-
<jmol><jmolLink><script>script inline @{speed + x1}</script><text>V1</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x2}</script><text>V2</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x3}</script><text>V3</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x4}</script><text>V4</text></jmolLink></jmol>
+
<jmol><jmolLink><script>script inline @{speed + x1}</script><text>V1</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x2}</script><text>V2</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x3}</script><text>V3</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x4}</script><text>V4</text></jmolLink></jmol>
 +
 
 +
Animate between the four views:
 +
<jmol><jmolLink><script>script inline @{speed + x1}; delay 2; script inline @{speed + x2}; delay 2; script inline @{speed + x3}; delay 2; script inline @{speed + x4}; delay 2; </script><text>start animation</text></jmolLink></jmol> <jmol><jmolLink>
==Dock a ligand==
==Dock a ligand==

Revision as of 11:54, 13 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools