-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (43 loc) · 1.12 KB
/
Copy pathindex.html
File metadata and controls
47 lines (43 loc) · 1.12 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!--https://github.com/filipedeschamps/doom-fire-algorithm/tree/master/playground/doom-fire-algorithm-commented-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Fire DOOM</title>
<style>
table{
border-collapse: collapse;
border: 1px solid #000;
}
td{
width: 50px;
height: 50px;
border: 1px solid #000;
text-align: center;
vertical-align: center;
font-family: monospace;
font-size: 18px;
position: relative;
}
.pixel-index{
font-size: 10px;
display: inline-block;
position: absolute;
top: 2px;
right: 2px;
color: #999;
}
td.pixel {
width: 4px;
height: 4px;
border: 0;
}
</style>
</head>
<body>
<div id="fireCanvas"></div>
<script src="main.js"></script>
</body>
</html>