-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (124 loc) · 5.78 KB
/
index.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Interactive Molecular Dynamics Simulation using LAMMPS</title>
<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<script src="js/jquery-3.2.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/thirdparty/three.min.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/thirdparty/webvr-polyfill/webvr-polyfill.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/viewer/wgs.min.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/viewer/firefly.min.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/nanocore/nanocore.min.js"></script>
<script src="https://d2gqcyogkbv0l5.cloudfront.net/c5fce52/molviewer/molview.min.js"></script>
</head>
<body onload="createViewer();">
<div class="container-fluid">
<div class="row top10">
<div class="col-md-12">
<div class="btn-toolbar" role="toolbar" aria-label="...">
<div class="btn-group" role="group">
<button title="Load 1YU8" id="BtnLoad1yu8" type="button" class="BtnLoadNew btn btn-default" onclick="$(this).blur(); setUpNew('1yu8');">1YU8</button>
<button title="Load 1YU8 residue 0-30" id="BtnLoadRes-0-30" type="button" class="BtnLoadNew btn btn-default" onclick="$(this).blur(); setUpNew('1yu8-0-30');">1YU8 Res 0-30</button>
<button title="Load 1YU8 residue 30-40" id="BtnLoadRes-30-40" type="button" class="BtnLoadNew btn btn-default" onclick="$(this).blur(); setUpNew('1yu8-30-40');">1YU8 Res 30-40</button>
</div>
<div class="btn-group" id="BtnGroupLoadSnapshot" role="group">
</div>
</div>
</div>
</div>
<div class="row top20 bottom50">
<div class="col-md-2">
<div class="btn-group" role="group">
<button title="press Spacebar" type="button" class="btn btn-info" id="BtnToggleSimulation" onclick="$(this).blur(); togglePlay();">
<i id="IconSimulationStatus" class="fa"></i>
</button>
<button title="press P" type="button" class="btn btn-default" id="BtnSaveSnapshot" onclick="$(this).blur(); requestForSnapshot();">
<span class="fa fa-camera-retro"></span> Save Snapshot
</button>
</div>
</div>
<div class="col-md-2">
<div class="checkbox" title="Recenter molecule">
<label><input type="checkbox" id="ChckboxRecenter" onchange="gRecenter=$(this).is(':checked'); $(this).blur();">Recenter</label>
</div>
</div>
<div class="col-md-2">
<div class="checkbox" title="Shake hydrogen to increase timestep">
<label><input type="checkbox" id="ChckboxShakeHydrogen">Shake Hydrogen</label>
</div>
</div>
</div>
<!----------- SIMULATION SETTINGS ---------->
<div class="row">
<div class="col-md-2">
<div class="input-group bottom10" role="group">
<span class="input-group-addon">TimeStep</span>
<input type="text" class="form-control" id="InputTimestep" placeholder="" value="">
</div>
<div class="input-group bottom10" role="group">
<span class="input-group-addon">Duration</span>
<input type="text" class="form-control" id="InputDuration" placeholder="" value="">
</div>
<div class="input-group bottom20" role="group">
<span class="input-group-addon">Output Frequency</span>
<input type="text" class="form-control" id="InputOutputFreq" placeholder="" value="">
</div>
<div class="input-group bottom10" role="group">
<span class="input-group-addon">Start Temp</span>
<input type="text" class="form-control" id="InputStartTemp" placeholder="" value="">
</div>
<div class="input-group bottom10" role="group">
<span class="input-group-addon">End Temp</span>
<input type="text" class="form-control" id="InputEndTemp" placeholder="" value="">
</div>
<div class="input-group" role="group">
<span class="input-group-addon">Damping Temp</span>
<input type="text" class="form-control" id="InputDampTemp" placeholder="" value="">
</div>
<div class="top20">
<button title="Apply above simulation settings" type="button" class="btn btn-default" id="BtnApplySetting" onclick="$(this).blur(); setGlobalsFromInput();">Apply Setting</button>
</div>
<div class="top50 bottom10">
<div class="radio" title="Apply force to selected atoms (RECOMMENDED)">
<label class="radio-inline"><input type="radio" checked id="RadioModePull" name="interactionMode" value="pull">Apply Force</label>
</div>
<div class="radio" title="Displace selected atoms">
<label class="radio-inline"><input type="radio" id="RadioModeDrag" name="interactionMode" value="drag">Displace</label>
</div>
</div>
</div>
<!-------------- VIEWER ------------------>
<div class="col-md-10">
<div id="molViewer" style="margin: 0;"></div>
</div>
</div>
<div class="row top20 bottom50">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<strong>Performance: </strong><span id="TextPerformance"></span> frames/sec<br>
<strong>Energy: </strong><span id="TextEnergy"></span> Kcal/mol
</div>
</div>
</div>
</div>
</div>
</body>
<script src="js/constant.js"></script>
<!-- Demo PDB/Lammps data files-->
<script src="js/1yu8.js"></script>
<script src="js/1yu8-0-30.js"></script>
<script src="js/1yu8-30-40.js"></script>
<!-------------------------------->
<script src="js/global.js"></script>
<script src="js/viewer-tools.js"></script>
<script src="js/helper.js"></script>
<script src="js/viewer.js"></script>
<script src="js/index.js"></script>
</html>