-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (33 loc) · 1.04 KB
/
index.html
File metadata and controls
35 lines (33 loc) · 1.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Doom Fire Effect</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<center>
<h1>Doom Fire Effect</h1>
<a href="https://github.com/g4brielklein/doom-fire-algorithm">https://github.com/g4brielklein/doom-fire-algorithm</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>
<div class="margin">
<span>Change the wind!</span>
</div>
<div class="margin">
<button onclick="changeWindDirection(0)"> < </button>
<button onclick="changeWindDirection(1)"> No wind </button>
<button onclick="changeWindDirection(2)"> > </button>
</div>
</center>
<script src="js/fire.js"></script>
</body>
</html>