-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (34 loc) · 1.65 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
44
<!DOCTYPE html>
<html>
<head>
<script src="matter.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="mattertest.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Sacramento&display=swap" rel="stylesheet">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="bmi.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div class="container-fluid text-center">
<h1>Projectile motion simulation</h1>
<form class="form">
<input type="text" placeholder="Angle" class="frminp" id="angl">
<input type="text" placeholder="Velocity" class="frminp" id="vel">
<button type="button" class="btn btn-default" onClick="project()">Start</button>
</form>
<label for="rst">Coeff. of Restitution</label><input type="text" value="1" placeholder="Coeff. of Restitution" class="frminp" id="rst">
<div id="renderport"></div>
</div>
<script src="mattertest.js">
</script>
<footer class="footer" id="ftr">
Made by <a href="https://github.com/beetrandahiya">Prakrisht Dahiya</a> using <a href=""><img src="https://miro.medium.com/max/1000/1*7eTJiUndx4MiCrLuJkQqdA.png" width="80px"></a>
</footer>
</body>
</html>