-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (33 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FYO project 2017</title>
<!-- css -->
<link rel="stylesheet" href="css/style.css">
<!-- js -->
<script src="js/jquery-3.1.1.min.js"></script>
<!-- TODO replace with minified versions -->
<script src="js/fabric.js"></script>
<script src="js/dat.gui.js"></script>
<script type="text/javascript" src="js/refractive_indices/air.js"></script>
<script type="text/javascript" src="js/refractive_indices/glass.js"></script>
<script type="text/javascript" src="js/refractive_indices/water.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<canvas id="c">Sorry, your browser doesn't support the <canvas> element.</canvas>
<script>
var app = new App('c');
// https://refractiveindex.info/?shelf=other&book=air&page=Ciddor
// standard air: dry air at 15 °C, 101.325 kPa and with 450 ppm CO2 content
app.loadRefractiveIndices("air", data_air);
// https://refractiveindex.info/?shelf=glass&book=BK7&page=SCHOTT
// BK7 glass
app.loadRefractiveIndices("glass", data_glass);
// https://refractiveindex.info/?shelf=main&book=H2O&page=Daimon-19.0C
// distilled water at 19.0°C
app.loadRefractiveIndices("water", data_water);
</script>
</body>
</html>