-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (45 loc) · 1.42 KB
/
index.html
File metadata and controls
52 lines (45 loc) · 1.42 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
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DOOM Fire Effect</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<header>
<h1>DOOM Fire Effect</h1>
<p><a target="_blank" href="https://github.com/willianlim/">https://github.com/willianlim/</a></p>
</header>
<section>
<div id="fireCanvas"></div>
</section>
<section id="controlsContainer">
<div id="controlBoxes"></div>
<div class="controls">
<h3>Change the wind!</h3>
<button onclick="changeWinDirection(0)"> To the left </button>
<button onclick="changeWinDirection(1)">No wind</button>
<button onclick="changeWinDirection(2)"> To the right </button>
</div>
<div class="controls">
<h3>Change Fire Colors</h3>
<input type="range" id="hueInput" value="0" min="0" max="360">
</div>
<div class="controls">
<h3>Fire Control</h3>
<button onclick="destroyFireSource()">Min Fire</button>
<button onclick="dreaseFireSource()">-</button>
<button onclick="createFireSource()">Max Fire</button>
<button onclick="increaseFireSource()">+</button>
</div>
</section>
<div>
<button onclick="toggleDebugMode()">Toggle Debug Mode</button>
</div>
<footer>
<p>I'm So happy and proud of this prooject ! :´)</p>
</footer>
<script src="assets/js/script.js"></script>
</body>
</html>