User:Wayne Decatur/SecStrFadeIn: Difference between revisions
From Proteopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 54: | Line 54: | ||
echo "And fade out the spheres and stick backbone.. "; | echo "And fade out the spheres and stick backbone.. "; | ||
var c = [0.55,0.5,0.4,0.2, 0.1,0.05,0.01]; for(var k IN c) {spacefill @k; wireframe @k; delay 0.4;}; | var c = [0.55,0.5,0.4,0.2, 0.1,0.05,0.01]; for(var k IN c) {spacefill @k; wireframe @k; delay 0.4;}; | ||
wireframe off; | wireframe off; speacefill off; | ||
</script> | </script> | ||
<text>Added 3rd part of progression from all atoms to cartoon</text> | <text>Added 3rd part of progression from all atoms to cartoon</text> | ||
</jmolLink> | |||
</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; | |||
select protein; | |||
echo "To help with observing the patterns,|a tube tracing the backbone is revealed. "; | |||
var b = [0.01,0.05,0.1,0.2,0.3,0.4,0.45,0.5, 0.55]; for(var j IN b) {trace @j; delay 0.4;}; | |||
echo "And fade out the spheres and stick backbone.. "; | |||
var c = [0.55,0.5,0.4,0.2, 0.1,0.05,0.01]; for(var k IN c) {spacefill @k; wireframe @k; delay 0.4;}; | |||
wireframe off; spacefill off; | |||
echo "Finally fade in typical representation and coloring of the secondary structure. "; | |||
color cartoon structurel | |||
var d = [0.55,0.5,0.4,0.2, 0.1,0.05,0.01]; for(var l IN d) {cartoon (0.56-@l); trace @l; delay 0.4;}; | |||
trace off; cartoon on; | |||
</script> | |||
<text>Added 4th part of progression from all atoms to cartoon</text> | |||
</jmolLink> | </jmolLink> | ||
</jmol> | </jmol> | ||
Revision as of 04:20, 22 November 2014
Constructing animation
|
1dtg ball and stick - STARTING SCENE
Code in Page Versions To Use as Guides
(basic)
(with fancy cartoons)
Extras