-
Notifications
You must be signed in to change notification settings - Fork 0
/
pythagoras.html
36 lines (33 loc) · 1.35 KB
/
pythagoras.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
<!DOCTYPE HTML>
<!-- Created by John Reagan, Sri Kodakalla, and Alex Bryant for Michael Fowler of UVA -->
<html><center>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
div {
height: 500px;
width: 500px;
background-color: white;
border: black;
}
</style>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.css">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.js"></script>
</head>
<body><font face="cambria">
<h1>Proving the Pythagoras Theorem</h1>
<div id="kineticCanvas"></div>
<b>Leg 1 (X)</b><input type="range" id="xSlider" value="50" min="50" max="200" data-popup-enabled="true">
<b>Leg 2 (Y)</b><input type="range" id="ySlider" value="50" min="50" max="200" data-popup-enabled="true">
<button id="drawButon" onclick="loadTriangles()"><font face="cambria">Draw Triangle!</font></button>
<button id="clearScreen" onclick="clearScreen()"><font face="cambria">Clear</font></button>
<br></br>
<button id="linkHomepage" onclick="linkHomepage()"><font face="cambria">HTML5 Animations Homepage</font></button>
<script src="http://d3lp1msu2r81bx.cloudfront.net/kjs/js/lib/kinetic-v5.0.1.min.js"></script>
<script src="pythagoras.js"></script>
</font></body>
</center></html>