User:Frieda Reichsman/Sandbox 1
From Proteopedia
< User:Frieda Reichsman(Difference between revisions)
m (User:Frieda S. Reichsman/Sandbox 1 moved to User:Frieda Reichsman/Sandbox 1: requested by user) |
|||
(16 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
+ | <StructureSection load='1uwx' size='300' side='right' scene='38/389917/Openingview_with_surface/1' caption='Protein G. But not a G protein... Really? ([[1uwx]])'> | ||
+ | |||
+ | |||
+ | <scene name='38/389917/Openingview_with_surface/1'>Opening view with surface</scene> | ||
<jmol> | <jmol> | ||
<jmolButton> | <jmolButton> | ||
Line 6: | Line 10: | ||
</jmol> | </jmol> | ||
+ | <jmol> | ||
+ | <jmolButton> | ||
+ | <script> var a = [10,20,30,40,50,60,70,80,90,100]; for(var i IN a) {select backbone; spacefill @i%; delay 0.1;} | ||
+ | </script> | ||
+ | <text>Fade in backbone atoms</text> | ||
+ | </jmolButton> | ||
+ | </jmol> | ||
+ | <jmol> | ||
+ | <jmolButton> | ||
+ | <script> var a = [10,20,30,40,50,60,70,80,90,100]; for(var i IN a) {select sidechain; spacefill @i%; delay 0.1;} | ||
+ | </script> | ||
+ | <text>Spacefill fade in sidechain atoms</text> | ||
+ | </jmolButton> | ||
+ | </jmol> | ||
- | + | ===Surface fade code-in-page versions=== | |
- | < | + | While not templates, carry out similar functions as the `Surface Fade` templates and may be useful for further development or as examples of using Jmol coding in Proteopedia pages. |
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;} | ||
+ | </script> | ||
+ | <text>Fade surface to invisible</text> | ||
+ | </jmolLink> | ||
+ | </jmol> (basic) | ||
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> set ribbonborder on; set antialiasdisplay on; var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;} | ||
+ | </script> | ||
+ | <text>Fade surface to invisible</text> | ||
+ | </jmolLink> | ||
+ | </jmol> (with fancy cartoons) | ||
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> var a = [8,7,6,5,4,3,2,1,0]; for(var i IN a) {isosurface translucent @i; delay 0.4;} | ||
+ | </script> | ||
+ | <text>Fade back to surface opaque</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
+ | <scene name='38/389917/Openingview02/1'>Reset opening view</scene> |
Current revision
|