-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (35 loc) · 1.32 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
<html>
<head>
<meta charset="utf-8">
<title>🔥 Doom Fire Effect - RGB</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<center>
<h1>Doom Fire Effect</h1>
<h2><span class="r">R</span><span class="g">G</span><span class="b">B</span></h2>
<canvas id="fireCanvas"></canvas>
<div class="select">
<label>Select Color: </label><input type="range" class="range" name="cores" min="0" max="8" value="1" onchange="changeColor(this.value)">
</div>
<div class="margin">
<button onclick="decreaseFireSource()" class="btn">-</button>
<button onclick="destroyFireSource()" class="btn_max_min">MIN FIRE</button>
<button onclick="createFireSource()" class="btn_max_min">MAX FIRE</button>
<button onclick="increaseFireSource()" class="btn">+</button>
</div>
<div class="about">
<p>
<a href="#">Modified</a> by
<a href="#">Lucas Melo</a>
</p>
<p>
<a href="https://github.com/filipedeschamps/doom-fire-algorithm">
Original repository</a> by
<a href="https://github.com/filipedeschamps">Filipe Deschamps</a>
</p>
</div>
</center>
<script src="fire.js"></script>
</body>
</html>