This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.
User:Frieda Reichsman/Sandbox 1
From Proteopedia
< User:Frieda Reichsman(Difference between revisions)
| (24 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> | ||
| + | <jmolButton> | ||
| + | <script>select protein; cpk;</script> | ||
| + | <text>Spacefill</text> | ||
| + | </jmolButton> | ||
| + | </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
| |||||||||||
