-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (25 loc) · 844 Bytes
/
Copy pathindex.html
File metadata and controls
27 lines (25 loc) · 844 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hi</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<canvas id="canvas" width="400" height="500"></canvas>
<p id="fps">fps: <span>0</span></p>
<p id="score">score: <span>0</span></p>
<label for="herroSpeed">herroSpeed: </label>
<input type="text" placeholder="3" id="herroSpeed">
<label for="herroDisperse">herroDisperse: </label>
<input type="text" placeholder="35" id="herroDisperse">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="main.js"></script>
<script>
// let i = 0;
// setInterval(() => { i += 0.01; console.log(i); }, 10);
// console.log(i);
</script>
</body>
</html>