User:Karsten Theis/Animation course

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
<scene name='52/520489/Ligand_pocket/2'>mu opioid receptor</scene>
<scene name='52/520489/Ligand_pocket/2'>mu opioid receptor</scene>
 +
Choose a background
<jmol><jmolLink><script>background black</script><text>background</text></jmolLink> </jmol>
<jmol><jmolLink><script>background black</script><text>background</text></jmolLink> </jmol>
Line 14: Line 15:
<jmol><jmolLink><script>console; show moveto</script><text>orientation</text></jmolLink> </jmol>
<jmol><jmolLink><script>console; show moveto</script><text>orientation</text></jmolLink> </jmol>
-
<jmol><jmolLink><script>select BF0;spacefill only;spacefill 0.4;wireframe 0.15</script><text>ball and stick</text></jmolLink> </jmol>
+
How do you want the opioid to look like?
-
<jmol><jmolLink><script>select BF0;spacefill only;</script><text>spacefill</text></jmolLink> </jmol>
+
<jmol><jmolLink><script>select BF0;center selected; spacefill only;spacefill 0.4;wireframe 0.15</script><text>ball and stick</text></jmolLink> </jmol>
 +
 
 +
<jmol><jmolLink><script>select BF0;center selected; spacefill only;</script><text>spacefill</text></jmolLink> </jmol>
<jmol>
<jmol>
Line 34: Line 37:
</jmol>
</jmol>
-
<jmol><jmolLink><script>select protein; color group</script><text>rainbow</text></jmolLink> </jmol>
+
Decide how and whether to show the protein
 +
<jmol><jmolLink><script>select protein; cartoon only; color group</script><text>rainbow cartoon</text></jmolLink> </jmol>
-
<jmol><jmolLink><script>select protein; color magenta</script><text>magenta</text></jmolLink> </jmol>
 
 +
<jmol><jmolLink><script>select protein; cartoon only; color magenta</script><text>magenta cartoon</text></jmolLink> </jmol>
 +
 +
 +
<jmol><jmolLink><script>select protein; cartoon only; color structure</script><text>helix-emphasize cartoon</text></jmolLink> </jmol>
 +
 +
<jmol><jmolLink><script>select protein; cartoon off; </script><text>no protein</text></jmolLink> </jmol>
-
<jmol><jmolLink><script>select protein; color structure</script><text>helix</text></jmolLink> </jmol>
 
===Save some orientations===
===Save some orientations===
Line 50: Line 58:
- 
-
x = script("show moveto")[11][0]
 
-
speed = "moveto 4.0"
 
-
script inline @{speed + x}
 
===Transition between orientations===
===Transition between orientations===
-
Select a transition speed: <jmol><jmolLink><script>speed = "moveto 1.0"</script><text>1 sec</text></jmolLink> <jmol><jmolLink><script>speed = "moveto 2.0"</script><text>2 sec</text></jmolLink> <jmol><jmolLink><script>speed = "moveto 4.0"</script><text>4 sec</text></jmolLink> <jmol><jmolLink><script>speed = "moveto 10.0"</script><text>10 sec</text></jmolLink> </jmol>
+
Select a transition speed: <jmol><jmolLink><script>speed = "moveto 1.0"</script><text>1 sec</text></jmolLink></jmol> <jmol><jmolLink><script>speed = "moveto 2.0"</script><text>2 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>
Go to different views:
Go to different views:
-
<jmol><jmolLink><script>script inline @{speed + x1}</script><text>V1</text></jmolLink> <jmol><jmolLink><script>script inline @{speed + x2}</script><text>V2</text></jmolLink> <jmol><jmolLink><script>script inline @{speed + x3}</script><text>V3</text></jmolLink> <jmol><jmolLink><script>script inline @{speed + x4}</script><text>V4</text></jmolLink>
+
<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>

Revision as of 22:31, 12 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools