User:Wayne Decatur/Sandboxsurffade
From Proteopedia
< User:Wayne Decatur(Difference between revisions)
m |
m (put link to new location) |
||
(40 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | |||
+ | By request of Jaime Prilusky, this has been copied to [[Proteopedia:DIY:Templates]] | ||
+ | |||
==Testing Surface fade== | ==Testing Surface fade== | ||
- | < | + | <Structure load='Insert PDB code or filename here' size='350' frame='true' align='right' caption='.' scene='60/607777/Surf_test/1' pspeed='8' /> |
+ | ===Template Versions Ready to Use Anywhere Easily=== | ||
- | + | {{Link FadeSurfaceBasic}} (basic) | |
+ | |||
+ | {{Link FadeSurface}} (with fancy cartoons) | ||
+ | |||
+ | {{Link Toggle FancyCartoonHighQualityView}} | ||
+ | |||
+ | {{Link FadeInSurface}} | ||
+ | |||
+ | As Buttons:<br/> | ||
+ | |||
+ | {{Button FadeSurfaceBasic}} (basic) | ||
+ | |||
+ | {{Button FadeSurface}} (with fancy cartoons) | ||
+ | |||
+ | {{Button FadeInSurface}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Code in Page Versions=== | ||
<jmol> | <jmol> | ||
<jmolLink> | <jmolLink> | ||
- | <script> | + | <script> var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;} |
</script> | </script> | ||
- | <text> | + | <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> | </jmolLink> | ||
- | </jmol> | + | </jmol> |
== Function == | == Function == |
Current revision
By request of Jaime Prilusky, this has been copied to Proteopedia:DIY:Templates
Testing Surface fade
|
Template Versions Ready to Use Anywhere Easily
(basic)
(with fancy cartoons)
As Buttons:
(basic)
(with fancy cartoons)
Code in Page Versions
(basic)
(with fancy cartoons)