User:Karsten Theis/Sandbox 2

From Proteopedia

< User:Karsten Theis(Difference between revisions)
Jump to: navigation, search
Current revision (01:57, 21 May 2025) (edit) (undo)
 
(9 intermediate revisions not shown.)
Line 1: Line 1:
-
<Structure load='1bna' size='[800,600]' frame='true' align='right' caption='' scene='' />
+
<Structure load='' size='[800,600]' frame='true' align='right' caption='' scene='' />
<jmol>
<jmol>
<jmolLink>
<jmolLink>
-
<script> load /images/b/b6/Hexes2.pngj
+
<script> script /images/5/5e/Benzene_cyclohexane.spt
-
spin X 40;</script>
+
</script>
-
<text>Hexane vs Benzene</text>
+
<text>Cyclohexane vs Benzene</text>
</jmolLink>
</jmolLink>
</jmol>
</jmol>
 +
<jmol>
 +
<jmolLink>
 +
<script> script /images/6/65/UvrB_1d9z.spt
 +
</script>
 +
<text>UvrB single scene</text>
 +
</jmolLink>
 +
</jmol>
<jmol>
<jmol>
<jmolLink>
<jmolLink>
-
<script> function delay2play(delaytime, defaultbanner)
+
<script> script /images/6/6b/Uvrb_fancy.spt
-
{
+
</script>
-
if not delaytime {
+
<text>UvrB selector test</text>
-
delaytime = 10
+
</jmolLink>
-
}
+
</jmol>
-
message driver:One hand to move, two to zoom
+
-
spinState = script("show state/spin"); spin off
+
-
orientState == script("show moveto")
+
-
original = orientState
+
-
time = 5
+
-
while (time > 0) {
+
-
delay 5
+
-
time = time - 5
+
-
if (script("show moveto") != orientState){
+
-
time = delaytime
+
-
orientState == script("show moveto")
+
-
}
+
-
}
+
-
message driver:@{defaultbanner}
+
-
script inline @original
+
-
script inline @spinState
+
-
}
+
-
message driver:Cyclohexane and Benzene
 
-
hide hydrogen
 
-
spin x 40
 
-
delay 5
 
-
spacefill on
 
-
delay 5
 
-
hide none
 
-
delay 5
 
-
hide all
+
<jmol>
-
spacefill 23%
+
<jmolLink>
-
model 2
+
<script> script /images/c/c8/UvrB_tour.spt
-
moveto 1.0 { 995 20 94 26.02} 5.0 23.05 26.26 {0.0 0.0 0.0} 3.6843593 {0 0 0} 0 0 0 3.0 0.0 0.0;
+
-
hide hydrogen
+
-
message driver:Benzene atoms lie in a plane
+
-
moveto 1.0 { -348 -908 235 3.05} 180.0 0.2 -13.28 {2.7000167 1.6659498E-5 0.0} 10.545738 {0 0 0} 0 0 0 3.0 0.0 0.0;
+
-
spin x 40
+
-
delay 5
+
-
hide none
+
-
delay2play(2,"")
+
-
moveto 1.0 { 995 20 94 26.02} 5.0 23.05 26.26 {0.0 0.0 0.0} 3.6843593 {0 0 0} 0 0 0 3.0 0.0 0.0;
+
-
hide all
+
-
 
+
-
delay 0.1
+
-
spacefill 23%
+
-
moveto 1.0 { 966 -191 175 105.1} 5.0 -21.78 27.27 {0.0 0.0 0.0} 3.6843593 {0 0 0} 0 0 0 3.0 0.0 0.0;
+
-
model 1
+
-
hide hydrogen
+
-
message driver:Cyclohexane atoms do not
+
-
moveto 1.0 { 931 -271 244 93.99} 200.0 0.24 -14.0 {-4.4000006 0.09999446 -6.0929193E-7} 10.538417 {0 0 0} 0 0 0 3.0 0.0 0.0;
+
-
spin x 40
+
-
delay 5
+
-
display displayed or (H11, H18, H9, H8, H13, H15)
+
-
delay 5
+
-
hide none
+
-
isosurface plane {C1 and 1.1}{C4 and 1.1}{C5 and 1.1}
+
-
delay2play(2,"")
+
-
isosurface off
+
-
moveto 1.0 { 966 -191 175 105.1} 5.0 -21.78 27.27 {0.0 0.0 0.0} 3.6843593 {0 0 0} 0 0 0 3.0 0.0 0.0
+
-
 
+
-
model 0
+
-
center visible
+
-
zoom 100
+
-
message driver:shrink to advance
+
</script>
</script>
-
<text>The script</text>
+
<text>UvrB tour</text>
</jmolLink>
</jmolLink>
</jmol>
</jmol>

Current revision

Drag the structure with the mouse to rotate


Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis, Jaime Prilusky

Personal tools