-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsphere.html
25 lines (23 loc) · 973 Bytes
/
sphere.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
<html>
<head>
<title>Rotate a Sphere</title>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.min.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<style>
.slider {
width: 400px;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="slider" data-index="0"></div>
<div class="slider" data-index="1"></div>
<div class="slider" data-index="2"></div>
<canvas id="canvas" width="420" height="420"></canvas>
<p>Sliders represent spheres rotation on x, y and z axis respectively. You can try different combinations.</p>
<p>Refik Turkeli</p>
<script src="sphere.js"></script>
</body>
</html>