-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanvas-test.html
41 lines (41 loc) · 970 Bytes
/
canvas-test.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Canvas Test</title>
<style>
canvas {
/* background: #452b25; */
background: url(images/royal-gate.gif);
cursor: none;
}
td {
vertical-align: top;
}
input[type=range] {
width: 250px;
}
</style>
<script src="html5slider/html5slider.js"></script>
<script src="jquery-1.7.2.js"></script>
<script src="canvas-test.js"></script>
<script>
$(document).ready(function () {
init();
});
</script>
</head>
<body>
<table><tr><td>
<canvas id="canvas" width="480" height="480"></canvas>
</td><td>
<div id="tick">FPS</div>
<div id="controls">
<button id="play_pause">Play/Pause</button><br>
<button id="step">Step</button><br>
<button id="reset">Reset</button><br>
<input id="future" type="range">
</div>
</td></tr></table>
</body>
</html>