-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (37 loc) · 798 Bytes
/
index.html
File metadata and controls
40 lines (37 loc) · 798 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
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RayCaster JS</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: rgb(134, 131, 131);
height: 100vh;
display: flex;
justify-content: space-evenly;
align-items: center;
}
#map {
background: #333;
width: 480px;
height: 480px;
}
#scene {
background: #333;
width: 640px;
height: 480px;
}
</style>
</head>
<body>
<canvas id="map"></canvas>
<canvas id="scene"></canvas>
<script src="./index.js"></script>
</body>
</html>