generated from j-2k/WebGL-Triangle-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (47 loc) · 1.71 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
type="image/png"
href="/grassblock/Faithful-x64/side-faithful-grass.png"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Voxxer</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./src/style.css" />
</head>
<body>
<canvas id="webglCanvas" width="900" height="600"></canvas>
<!-- Debugging Purposes-->
<div style="
display: transparent;
width: 100%;
position: fixed;
bottom: 0;
padding: 5px;
padding-left: 30px;
background-color: rgb(0, 0, 0,0.5);
border: 2px solid rgb(0, 0, 0);">
<div>
<p id="textOverlay3">textOverlay3</p>
</div>
<div >
<style>p {font-size: 20px; margin: -5px;}</style>
<p id="textOverlay1">textOverlay1</p>
<p id="textOverlay2">textOverlay2</p>
<p id="textOverlay4">textOverlay4</p>
<p id="textOverlay5">textOverlay5</p>
<p id="textOverlay6">textOverlay6</p>
</div>
</div>
<!-- Debugging Purposes-->
<script type="module" src="/src/main.ts"></script>
</body>
</html>