-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
29 lines (23 loc) · 828 Bytes
/
main.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
<html>
<head>
<script src="jquery.min.js"></script>
<script src="particle.js"></script>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div class='container'>
<img style="border: 1px solid white;border-bottom:none;" src="banner.png" alt="banner"/>
<canvas id='g' width='600' height='600'></canvas>
Select a particle...
<ul class='palette'>
<li onclick='Interface.onParticleChange(this, WATER)' style="color:Yellow">Water</li>
<li onclick='Interface.onParticleChange(this, PLANT)'>Plant</li>
<li onclick='Interface.onParticleChange(this, SOLID)'>Solid</li>
<li onclick='Interface.onParticleChange(this, FIRE)'>Fire</li>
</ul>
<br/>
<p style="text-align:center">Inspired by the <a href='#'>Falling Sands</a> game. </p>
<p id='dbg'></p>
</div>
</body>
</html>