-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (47 loc) · 2.04 KB
/
index.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
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title>The Ballgame</title>
<link rel="icon" type="image/png" href="icon.png">
<meta charset="UTF-8">
<meta name="description" content="a fun ball physics simulation">
<meta name="keywords" content="ball, game, physics, spiel">
<meta name="author" content="Leander Jakschik">
<meta name="viewport" content="width=device-width, initial-scale=1.5">
<meta property="og:url" content="https://leanderjdev.github.io/ball-game/" />
<meta property="og:type" content="simulation" />
<meta property="og:title" content="The Ballgame" />
<meta property="og:description" content="a fun ball physics simulation" />
<meta property="og:image" content="icon.png" />
<link href="style.css" rel="stylesheet">
</head>
<body>
<!-- <p id="title">The Ballgame</p> -->
<h1>The Ballgame</h1>
<div class="main">
<canvas id="gameCanvas"></canvas>
<div id="statistics">
<div id="velocity-stats" class="stat">
<p class="stat-title">Velocity</p>
<p class="stat-value" id='velocity'>Velocity: 0</p>
<p class="stat-value" id='velocity_delta'>Max Velocity Delta: 0</p>
</div>
<div id="velocity-chart" class="chart">
<canvas id="velocityCanvas" width=300 height=150></canvas>
<canvas id="recentVelocityCanvas" width=200 height=150></canvas>
</div>
<div id="collision-stats" class="stat">
<p class="stat-title">Collisions</p>
<p class="stat-value" id='total_collisions'>Collsions: 0</p>
<p class="stat-value" id='average_collisions'>Average Collisions: 0</p>
</div>
<div id="collision-chart" class="chart">
<canvas id="collisionCanvas" width=300 height=150></canvas>
<canvas id="recentCollisionCanvas" width=200 height=150></canvas>
</div>
</div>
</div>
<script src=" ball.js"></script>
<script src="main.js"></script>
</body>
</html>