-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (41 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Graphic Library Vanilla JS</title>
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<a href="https://github.com/PyColmenero/mi-propio-motor-grafico-js" class="link-light container-fluid text-decoration-none" target="_blank">
<!-- <div class="container-fluid"> -->
<span class="navbar-brand mb-0 h1">Graphic Library JS</span>
<span class="navbar-brand mb-0 fs-6">PyColmenero</span>
<!-- </div> -->
</a>
</nav>
<div class="d-flex justify-content-center vw-100 overflow-hidden">
<canvas id="canvas"></canvas>
</div>
<footer class="fixed-bottom p-2">
<a href="https://github.com/PyColmenero/mi-propio-motor-grafico-js" target="_blank" class="">
<i class="bi bi-github"></i> Source code
</a>
</footer>
<script>
const s = Math.round(window.innerHeight * .9);
let tot_com = s * s * 4;
var u8a = new Uint8ClampedArray(tot_com);
</script>
<!-- <script src="./shapes/teapot.js"></script> -->
<script src="./shapes/cube.js"></script>
<script src="./shapes/triangle.js"></script>
<script src="./js/core.js"></script>
</body>
</html>