-
Notifications
You must be signed in to change notification settings - Fork 0
/
compoundMotion.html
57 lines (49 loc) · 1.18 KB
/
compoundMotion.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
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE HTML>
<!--Created by John Reagan, Alex Bryant, and Sri Kodakalla for Prof. Fowler of UVa.-->
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<link rel="stylesheet" href="bootstrap.min.css">
<style>
.img{
position: absolute;
z-index:1;
}
#container{
display:inline-block;
width:500px;
height:333px;
position: relative;
}
#myCanvas{
z-index:20;
position: relative;
}
#authors{
font-size: x-small;
position: absolute;
bottom: 0;
margin-left: auto;
margin-right: auto;
text-align: center;
}
body {
background-color: #D8D8D8;
}
</style>
</head>
<body><center>
<h3>Galileo's Representation of Projectile Motion as Compound Motion</h3>
<div id="container">
<img class='img' src="Galileo Text.png" />
<canvas id="myCanvas" width="500" height="333"></canvas>
</div>
<div id="myButtons">
<button id="startAnimation" type="button" class="btn btn-danger">Play</button>
</div>
<div id="authors">
<p>Created by John Reagan, Alex Bryant, and Sri Kodakalla</p>
</div>
<script src="compoundMotion.js"></script>
</center></body>
</html>