-
Notifications
You must be signed in to change notification settings - Fork 0
/
myOverlay.html
86 lines (84 loc) · 4.02 KB
/
myOverlay.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Overlay</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
type="text/css"
media="screen"
href="./styles/myOverlay.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="scripts/main/myOverlay.js"></script>
<script src="scripts/main/3D.js"></script>
<!-- <script src='scripts/main/particle.js'></script> -->
<script src="scripts/constant/twitch.js"></script>
<script src="scripts/constant/enum.js"></script>
<!-- Add Three.js addons -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/loaders/GLTFLoader.js"></script>
</head>
<body>
<div id="three-container"></div>
<div id="bottom">
<div id="clock-container">
<img style="transform: translate(-45.5%, 2%) rotate(5deg) scale(1.2);" id="min-clock" class="clock" src="images/60m-clock.png" />
<img style="transform: translate(-48%, -8%) rotate(5deg) scale(0.9);" id="hour-clock" class="clock" src="images/24h-clock.png" />
</div>
<!--<div id="time-container">
<div id="time" class="text"></div>
</div>-->
<!-- <div id="data-container">
<div id="viewer" class="text svg-container">
<svg
xmlns="http://www.w3.org/2000/svg"
width="64"
height="64"
viewBox="0 0 64 64"
>
<path
class="white-svg"
d="M32 48c20.273 0 31.345-14.779 31.807-15.409L64.24 32l-.434-.591C63.345 30.779 52.273 16 32 16S.655 30.779.193 31.409L-.24 32l.434.591C.655 33.221 11.727 48 32 48zm0-30c16.983 0 27.434 11.265 29.719 14C59.434 34.735 48.983 46 32 46S4.566 34.735 2.281 32C4.566 29.265 15.017 18 32 18z"
/>
<path
class="white-svg"
d="M32 40c4.411 0 8-3.589 8-8s-3.589-8-8-8-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"
/>
</svg>
<iframe class="viewer-frame" width="100" height="60" src="https://botrix.live/widgets/viewers/?platform=twitch&bid=cVknB7KumcW2xXfdHXi3wA&font=Arial&c=0101017f#ffffff"></iframe>
<iframe class="viewer-frame" width="100" height="60" src="https://botrix.live/widgets/viewers/?platform=kick&bid=cVknB7KumcW2xXfdHXi3wA&font=Arial&c=0101017f#ffffff"></iframe>
</div>
<div id="follow" class="text svg-container">
<svg
xmlns="http://www.w3.org/2000/svg"
width="64"
height="64"
viewBox="0 0 100 100"
>
<path
class="white-svg"
d="M48.6 85.4L15.7 52.8c-1.4-1.3-2.5-2.8-3.5-4.4-5.4-8.9-4-20.3 3.5-27.7C20 16.4 25.8 14 31.9 14c9.6 0 15.6 5.6 18.1 8.8 2.5-3.2 8.5-8.8 18.1-8.8 6.1 0 11.9 2.4 16.2 6.7 7.4 7.4 8.9 18.8 3.5 27.7-1 1.6-2.1 3.1-3.5 4.4L51.4 85.4c-.8.8-2 .8-2.8 0zM31.9 18c-5.1 0-9.8 2-13.4 5.5-6.1 6.1-7.3 15.5-2.9 22.8.8 1.3 1.8 2.6 2.9 3.7L50 81.2 81.5 50c1.1-1.1 2.1-2.3 2.9-3.7 4.4-7.4 3.3-16.8-2.9-22.8C77.9 20 73.1 18 68.1 18c-7.2 0-13.2 3.9-16.4 9.3-.8 1.3-2.7 1.3-3.5 0-3.1-5.4-9.1-9.3-16.3-9.3z"
/>
<path
class="white-svg"
fill="#00F"
d="M944-370v1684H-840V-370H944m8-8H-848v1700H952V-378z"
/>
</svg>
<div class="follow-number">
<img id="icon" height="32" width="32" src="https://twitch.tv/favicon.ico">
<span id="follower-number-twitch">-1</span>
</div>
<div class="follow-number">
<img id="icon" height="32" width="32" src="https://botrix.live/widgets/viewers/kickIcon.png">
<span id="follower-number-kick">-1</span>
</div>
</div>
</div> -->
<!-- <div id="block-container"></div> -->
</div>
</body>
</html>