-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (42 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>GravBall</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<script src="./dist/bundle.js" type="text/javascript"></script>
</head>
<body>
<div class="information">
<div class="information-head">
<h1>GravBall</h1>
<p>GravBall was built using HTML 5 and canvas. It explores the effect of gravitational attraction on particles.</p>
<p>Click to add a gravity ball. Double click on an existing gravity ball to remove it.</p>
<p>Gravity balls can collpase on each other to create a bigger and stronger ball, but be careful! If too many collapse on each other, it might get destroyed!</p>
</div>
<ul>
<li><a href="https://github.com/Ralej86/GravBall"><img class="link-logo" src="github_logo.svg" alt="Github logo"></a></li>
<li><a href="https://www.linkedin.com/in/ryan-alejandro-35142a161"><img class="link-logo" src="linked_in_logo.png" alt="LinkedIn logo"></a></li>
</ul>
<div class="slider">
<p> Use the slider to adjust the amount of particles </p>
<datalist id="tickmarks">
<option value="5" label="5">
<option value="50">
<option value="100">
<option value="150">
<option value="200">
<option value="250" label="250">
<option value="300">
<option value="350">
<option value="400">
<option value="450">
<option value="500" label="500">
</datalist>
<input type="range" list="tickmarks" min="5" max="500" value="100">
</div>
</div>
<canvas id="canvas"></canvas>
</body>
</html>