-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path10Plas_Bound_interactive.html
60 lines (58 loc) · 2.62 KB
/
10Plas_Bound_interactive.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
<!DOCTYPE html>
<html lang="en">
<head>
<!--Page Info-->
<title>10Plas_Bound_interactive</title>
<!--css link-->
<link rel="stylesheet"
href="styles/skeleton.css">
<link rel="stylesheet"
href="styles/style.css">
<!--Required JS resources-->
<!--NB: better to have resources before the main body but still works even if they are not-->
<script src="scripts/plotly-1.47.4.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="scripts/numeric/src/numeric.js"></script>
<script src="scripts/math.min.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
},
"HTML-CSS": { fonts: ["TeX"] }
});
</script>
<script type="text/javascript" src="scripts/MathJax-master/MathJax.js">
</script>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<div>
<!-- DENSITY SLIDER -->
<label style="position: fixed; left: 25vw; width: 25%; top: 10px;">
<span> Relative Plasma Density, $ \rho $: = <output id="x" for="DensityController">0.09</output></span>
<br>
<input id="DensityController" class="inputs" type="range" value="0.09" min="0" max="0.5" step="0.01" oninput="x.value=DensityController.value"/></input>
</label>
<!-- INITIAL ANGLE SLIDER -->
<label style="position: fixed; left: 25vw ; width: 25%; top: 80px;">
<span> Angle of Incidence, $ \theta $: = <output id="beta" for="Initial_Angle">1</output></span>
<br>
<input id="Initial_Angle" class="inputs" type="range" value="1" min="0.01" max="1.5" step="0.01" oninput="beta.value=Initial_Angle.value"/></input>
</label>
<!-- PHOTON FREQUENCY CONTROLLER -->
<label style="position: fixed; left: 25vw ; width: 25%; top: 150px;">
<span> Relative Electromagnetic Wave Frequency <br> $ \omega $ : = <output id="omega" for="OmegaController">1</output></span>
<br>
<input id="OmegaController" class="inputs" type="range" value="1" min="0" max="1" step="0.01" oninput="omega.value=OmegaController.value"/></input>
</label>
</div>
<div id="graph" style="height:70vh; width: 50vw; position: fixed; left: 50vw"></div>
<!--THE BRAINS-->
<script src="scripts/10Plas_Bound.js"></script>
</body>
</html>