-
Notifications
You must be signed in to change notification settings - Fork 2
/
jmol_surfaces.html
71 lines (62 loc) · 2.63 KB
/
jmol_surfaces.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!doctype html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Jmol Surfaces Demo</title>
<!-- CSS stylesheets externalized -->
<link rel="stylesheet" href="./jquery/jquery-ui.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="./jmol_surfaces.css" type="text/css" charset="utf-8"/>
</head>
<body>
<h1>Jmol Demo</h1>
<div id='commands'>
<ul><!-- The tab headers -->
<li><a href="#jcmd-3">Surfaces (HOMO/LUMO)</a></li>
<li><a href="#jcmd-99">Jmol Info</a></li>
</ul>
<div id="jcmd-3"> <!-- Content of Tab Jmol 3 -->
<ol>
<li>1) Load an example file:</li>
<li><div class="jmolscript">load "mol/methanol.log" ; frame 2</div></li>
<li> </li>
<li>... or browse to load local file:</li>
<li><div class="jmolscript">load "?" ; frame 2</div></li>
<li> </li>
<li>2) Display either Electrostatic Potential or HOMO or LUMO mapped on molecular surface:</li>
<li><div class="jmolscript">isosurface id iso_mep molecular map mep #ESP</div></li>
<li><div class="jmolscript">isosurface id iso_homo molecular map mo homo</div></li>
<li><div class="jmolscript">isosurface id iso_lumo molecular map mo lumo</div></li>
<li> </li>
<li>3) Set Isosurface to be tranlucent or opaque:</li>
<li><div class="jmolscript">isosurface translucent 0.99 # translucent</div></li>
<li><div class="jmolscript">isosurface translucent 0.75</div></li>
<li><div class="jmolscript">isosurface translucent 0.5 </div></li>
<li><div class="jmolscript">isosurface translucent 0.25</div></li>
<li><div class="jmolscript">isosurface translucent 0.0 # opaque</div></li>
<li> </li>
<li>4) Download Image:</li>
<li><div class="jmolscript">write PNG "output.png?"</div></li>
<li><div class="jmolscript">write PNG 1000 1000 "output.png?" # higher resolution</div></li>
<li> </li>
<li>Delete Isosurface:</li>
<li><div class="jmolscript">isosurface delete</div></li>
<li> </li>
</ul>
</div>
<div id="jcmd-99"> <!-- Content of Tab Jmol Info -->
<div id="infodiv"></div>
</div>
</div>
<!-- DIV in which Jmol Applet will be placed -->
<div id='jmol_div'></div>
<!--
The performance of loading and displaying the page is better
if JavaScripts are loaded at the bottom of the page.
-->
<!-- Load Jmol javascript library and jQuery UI: -->
<script type="text/javascript" src="./jsmol/JSmol.min.js"></script>
<script type="text/javascript" src="./jquery/jquery-ui.js"></script>
<!-- calls to jQuery Jmol JSO -->
<script type="text/javascript" src="./jmol_demo.js"></script>
</body>
</html>