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 6: Line 6:
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.
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.


1. Choose a background: <jmol>
1. Choose a background:  
 
<jmol>
   <jmolRadioGroup>
   <jmolRadioGroup>
     <item>
     <item>
Line 31: Line 33:




2. How, if it all, do you want to show the protein? <jmol>
2. How, if it all, do you want to show the protein?  
 
<jmol>
   <jmolRadioGroup>
   <jmolRadioGroup>
     <item>
     <item>
       <script>select protein; color group;</script>
       <script>select protein; cartoon only; color group;</script>
       <text>rainbow</text>
       <text>rainbow</text>
     </item>
     </item>
     <item>
     <item>
       <script>select protein; color structure;</script>
       <script>select protein; cartoon only; color structure;</script>
       <text>by structure</text>
       <text>by structure</text>
     </item>
     </item>
     <item>
     <item>
       <script>select protein; color magenta;</script>
       <script>select protein; cartoon only; color magenta;</script>
       <text>magenta</text>
       <text>magenta</text>
     </item>
     </item>
     <item>
     <item>
       <script>select protein; color magenta transparent 0.1;</script>
       <script>select protein; cartoon only; color magenta transparent 0.9;</script>
       <text>transparent</text>
       <text>transparent</text>
     </item>
     </item>
     <item>
     <item>
       <script>select protein; color chain;</script>
       <script>select protein; cartoon only; cartoon off;</script>
      <text>invisible</text>
    </item>
    <item>
      <script>select protein; cartoon only; color chain;</script>
       <text>boring</text>
       <text>boring</text>
       <checked>true</checked>
       <checked>true</checked>
Line 57: Line 65:
</jmol>
</jmol>


3. How do you want the opioid to look like? <jmol>
3. How do you want the opioid to look like?  
 
<jmol>
   <jmolRadioGroup>
   <jmolRadioGroup>
     <item>
     <item>
Line 75: Line 85:
</jmol>
</jmol>


4. Other choices:


4. Other choices: <jmol>
<jmol>
   <jmolCheckbox>
   <jmolCheckbox>
     <scriptWhenChecked>slab on; depth 40; var a = [80,70,65,63,62]; for(var i IN a) {slab @i; delay 0.4;};</scriptWhenChecked>
     <scriptWhenChecked>slab on; depth 40; var a = [80,70,65,63,62]; for(var i IN a) {slab @i; delay 0.4;};</scriptWhenChecked>

Revision as of 18:34, 13 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis