-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (76 loc) · 1.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html>
<head>
<title>Doom Fire Effect</title>
<style>
body {
background-color: #63431c;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-family: impact;
margin: 0;
font-size: 35px;
text-shadow: 0px -1px 0px rgba(255,225,31,0.4);
}
#fireCanvas {
margin: 10px;
}
table {
border-collapse: collapse;
border: 1px solid #000;
}
td {
width: 32px;
height: 32px;
color: #FFF;
border: 1px solid #000;
text-align: center;
vertical-align: center;
font-family: arial;
font-size: 10px;
position: relative;
font-weight: bold;
}
td.pixel {
width: 4px;
height: 4px;
border: 0;
}
.pixel-index {
font-size: 7px;
display: inline-block;
position: absolute;
top: 1px;
right: 1px;
color: #927450;
}
a {
color: #FFF;
font-size: 10px;
font-family: arial;
}
.margin {
margin: 5px;
}
</style>
</head>
<body>
<center>
<h1>Doom Fire Effect</h1>
<a href="https://github.com/alecoll0x01/DoomFire">https://github.com/alecoll0x01/DoomFire</a>
<div id="fireCanvas"></div>
<div class="margin">
<button onclick="decreaseFireSource()">-</button>
<button onclick="destroyFireSource()">Min Fire</button>
<button onclick="createFireSource()">Max Fire</button>
<button onclick="increaseFireSource()">+</button>
</div>
<div class="margin">
<button onclick="toggleDebugMode()">Toggle Debug Mode</button>
</div>
</center>
<script src="fire.js"></script>
</body>
</html>