User:Frieda Reichsman/Sandbox 1
From Proteopedia
(Difference between revisions)
m (User:Frieda S. Reichsman/Sandbox 1 moved to User:Frieda Reichsman/Sandbox 1: requested by user) |
|||
Line 6: | Line 6: | ||
</jmol> | </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> | ||
Revision as of 18:13, 24 July 2020
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.
(basic)
(with fancy cartoons)
|