-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (32 loc) · 946 Bytes
/
index.html
File metadata and controls
32 lines (32 loc) · 946 Bytes
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
<!DOCTYPE html>
<thml>
<head>
<title>TallinnJS 0.1</title>
<style type="text/css">
html, body {
margin: 0;
padding: 0;
}
canvas {
width: 45vw;
height: 33vw;
display: block;
margin: 2rem auto;
}
</style>
</head>
<body>
<canvas id="sphere1"></canvas>
<canvas id="sphere2"></canvas>
<canvas id="sphere3"></canvas>
<script src="./common.js"></script>
<script src="./poly-sphere1.js"></script>
<script src="./poly-sphere2.js"></script>
<script src="./poly-sphere3.js"></script>
<script>
drawLoop("sphere1", initPolySphere1);
drawLoop("sphere2", initPolySphere2);
drawLoop("sphere3", initPolySphere3);
</script>
</body>
</thml>