-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (101 loc) · 2.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Shadow</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-171504202-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-171504202-1");
</script>
</head>
<body>
<div class="root">
<!-- Header-------------------------------- start-->
<div class="header">
<h2>
Top View of your shadow
</h2>
<a href="./sun/index.html">Visite the 3D version</a>
</div>
<!-- Header-------------------------------- end-->
<!-- Board-------------------------------- start-->
<div class="view">
<div class="pole">N</div>
<div class="point user"></div>
<div class="shadow point">
<div class="real-shadow"></div>
</div>
</div>
<!-- Board-------------------------------- end-->
<!-- Sensors-------------------------------- start-->
<!-- <div class="sensor">
sensor
</div> -->
<!-- Sensors-------------------------------- start-->
<!-- Controllers-------------------------------- start-->
<div class="controller">
<time class="time"> test</time> <button class="reset">reset</button>
<br />
<div class="slider-container">
Time:
<input
type="range"
min="0"
max="24"
Z
step="0.1"
class="slider slider-h"
/>
<span class="timeLable"></span>
</div>
<div class="slider-container">
Day:
<input
type="range"
min="1"
max="30"
value="1"
class="slider slider-d"
/>
<span class="dayLable"></span>
</div>
<div class="slider-container">
Month:
<input
type="range"
min="0"
max="11"
value="1"
class="slider slider-m"
/>
<span class="monthLable"></span>
</div>
<div class="slider-container">
Rotate:
<input
type="range"
min="1"
max="360"
value="1"
class="slider slider-andgle"
/>
<span class="rotateLable"></span>
</div>
</div>
<!-- Controllers-------------------------------- end-->
</div>
</body>
<script src="./suncalc.js"></script>
<script type="module" src="./index.js"></script>
</html>