forked from kapawlak/PhDemoJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
114 lines (100 loc) · 4.63 KB
/
index2.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
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="PhDemoJS_index.css">
<html>
<script src='index.js'></script>
<body>
<h1>Welcome! </h1>
<div class='narrow'>
This is my personal webpage for managing interactive applets for UCSB's Physics Department.
To request an applet for your course, please fill out the form <a href='https://forms.gle/7vGQ5dyeSYk9YszAA'>here</a>. Samples of of current applets are found below.
</div>
<br>
NEW: You can now embed simulations with a single line of code!!
<br>
<div class="w3-container">
<button onclick="showhide('Demo1')" class="w3-btn w3-block w3-left-align">PHYS 6BL Demos</button>
<div id="Demo1" class="blocky w3-container w3-hide">
<div class='iframeshell' >
<h3>Linearization</h3>
<iframe src="Apps/MathLab/MathLab.html" width= "100%" height="650" style="border:none;" class='sim_embed'>
</iframe>
<br><br>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/MathLab/MathLab.html" width= "100%" height="650" style="border:none;">
</iframe></code></div>
</div>
<div class='box iframeshell'>
<h3>Log-Log Plots of Data</h3>
<iframe src="Apps/MathLab_Data/MathLab_Data.html" width= "100%" height="650" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/MathLab_Data/MathLab_Data.html" width= "100%" height="650" style="border:none;">
</iframe></code></div>
</div>
</div>
<button onclick="showhide('Demo2')" class="w3-btn w3-block w3-left-align">PHYS 4L Demos</button>
<div id="Demo2" class="blocky w3-container w3-hide">
<div class='box iframeshell'>
<h3>Lorentz Force</h3>
<iframe src="Apps/LorentzForce/LorentzForce.html" width= "100%" height="650" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/LorentzForce/LorentzForce.html" width= "100%" height="650" style="border:none;">
</iframe></code></div>
</div>
<div class='box iframeshell'>
<h3>Magnetic Field of a Straight Wire</h3>
<iframe src="Apps/BiotSavart_Current_Line/Biot_Savart.html" width= "100%" height="750" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/BiotSavart_Current_Line/Biot_Savart.html" width= "100%" height="750" style="border:none;">
</iframe></code></div>
</div>
<div class='box iframeshell'>
<h3>Magnetic Field of a Looped Wire</h3>
<iframe src="Apps/BiotSavart_Current_Loop/Biot_Savart.html" width= "100%" height="750" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/BiotSavart_Current_Loop/Biot_Savart.html" width= "100%" height="750" style="border:none;">
</iframe></code></div>
</div>
</div>
<button onclick="showhide('Demo3')" class="w3-btn w3-block w3-left-align">PHYS 6AL Demos</button>
<div id="Demo3" class="blocky w3-container w3-hide">
<div class='box iframeshell'>
<h3>Projectile Motion</h3>
<iframe src="Apps/FreeFall/freefall_multi.html" width= "100%" height="850" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="https://ilg-physics-ucsb.github.io/PhDemoJS/Apps/MathLab_Data/MathLab_Data.html" width= "100%" height="800" style="border:none;">
</iframe></code>
</div>
</div>
<div class='box iframeshell'>
<h3>Energy Transformation</h3>
<iframe src="Apps/ForceMassEnergyTransformation/EnergyTransformation.html" width= "100%" height="850" style="border:none;" class='sim_embed'>
</iframe>
<h3>Code to embed:</h3>
<br>
<div class='iframe_link'>
<code><iframe src="Apps/ForceMassEnergyTransformation/EnergyTransformation.html" width= "100%" height="800" style="border:none;">
</iframe></code>
</div>
</div>
</div>
</div>
</body>
</body>
</html>