User:Karsten Theis/Animation course: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
No edit summary
Line 4: Line 4:


===Load the scene and choose a look===
===Load the scene and choose a look===
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.
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 y -90;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 63: Line 63:


Animate between the four views:
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>
<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> <jmol><jmolLink>


==Dock a ligand==
==Dock a ligand==