-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (23 loc) · 782 Bytes
/
index.html
File metadata and controls
26 lines (23 loc) · 782 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles/index.css">
<link rel="stylesheet" href="./styles/modern-normalize.css">
<script type="module" src="./scripts/index.js"></script>
<title>Ball physics</title>
</head>
<body>
<main>
<div class="instructions">Click to add balls</div>
<div class="instructions">Scroll to change angle</div>
<div id="angle"></div>
<canvas height="900" width="1500"></canvas>
<div>
<button id="g-button">Gravity Mode: <span id="gMode"></span></button>
<button id="c-button">Clear Canvas</button>
</div>
</main>
</body>
</html>