-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (33 loc) · 716 Bytes
/
index.html
File metadata and controls
37 lines (33 loc) · 716 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
33
34
35
36
37
<html>
<head>
<style>
@font-face {
font-family: font;
src: url(resources/font.ttf);
}
body{
margin: 0;
background: #000;
overflow: hidden;
}
#game {
position: relative;
width: 100%;
height: 100%;
text-align: center;
}
canvas{
image-rendering: pixelated;
position: absolute;
left: 160px;
top: 120px;
transform: scale(1.5, 1.5);
}
</style>
</head>
<body>
<div id="game"></div>
<script src="src/Library/perlin.js"></script>
<script src="dist/app.js"></script>
</body>
</html>