-
Notifications
You must be signed in to change notification settings - Fork 0
/
myG.html
29 lines (20 loc) · 917 Bytes
/
myG.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
<!DOCTYPE html>
<html>
<head>
<title>Very simple Physics</title>
</head>
<body>
<p><strong>Move</strong> the mouse to leave a trace. The ball bounces off of your trace.</p>
<p><strong>Click</strong> to jump.</p>
<canvas id="canvas" width="800" height="600" style="border: 1px solid #999;"></canvas>
<script src="jquery.min.js"></script>
<script src="jquery.timers-1.1.2.js"></script>
<p class="debug">Press <strong>space</strong> to toggle how strong the ball bounces. Currently: <span id="bounce"></span></p>
<p><strong>Refresh</strong> to reset.</p>
<p id="debug2" class="debug"></p>
<p id="debug1" class="debug"></p>
<p id="debug" class="debug"></p>
<script src="here.js"></script>
<p>Reach the <a href="mailto:[email protected]">author</a>.</p>
</body>
</html>