User:Wayne Decatur/SecStrFadeIn
From Proteopedia
(Difference between revisions)
m |
m |
||
Line 34: | Line 34: | ||
echo "The repeating patterns of the secondary structure|elements are starting to be noticeable."; | echo "The repeating patterns of the secondary structure|elements are starting to be noticeable."; | ||
</script> | </script> | ||
- | <text> | + | <text>Added 2nd part</text> |
</jmolLink> | </jmolLink> | ||
</jmol> | </jmol> | ||
+ | |||
+ | <jmol> | ||
+ | <jmolLink> | ||
+ | <script> load /wiki/scripts/60/609822/1dtg_ball_stick_label/1.spt; | ||
+ | set echo top center;font echo 12 serif bolditalic;color echo white; echo "Start with all atoms of the protein|as small spheres connected by sticks..."; | ||
+ | delay 4.0; | ||
+ | echo "Next hide all but the backbone atoms|keeping the connections shown..."; | ||
+ | select protein and sidechain; | ||
+ | var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {color translucent @i; delay 0.4;}; | ||
+ | delay 4.0; | ||
+ | echo "The repeating patterns of the secondary structure|elements are starting to be noticeable."; | ||
+ | delay 2.0; | ||
+ | echo "Next start revealing a tube tracing the backbone. "; | ||
+ | var b = [0.01,0.05,0.01,0.2,0.5,0.7, 0.85, 1.0, 1.2]; for(var i IN b) {backbone @i; delay 0.4;}; | ||
+ | echo "And fade out the ball and stick representation... "; | ||
+ | var c = [0.8,0.5,0.4,0.2, 0.1,0.05,0.01]; for(var i IN c) {spacefill @i; wireframe @i; delay 0.4;}; | ||
+ | </script> | ||
+ | <text>Added 3rd part</text> | ||
+ | </jmolLink> | ||
+ | </jmol> | ||
+ | |||
===Code in Page Versions To Use as Guides=== | ===Code in Page Versions To Use as Guides=== | ||
Revision as of 03:44, 22 November 2014
Constructing animation
|
Code in Page Versions To Use as Guides
(basic)
(with fancy cartoons)
Extras