• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<html lang="en">
3<head>
4  <script src="parse_url.js"></script>
5  <script src="bouncing_balls.js"></script>
6  <style>
7    html, body {
8      width:  100%;
9      height: 100%;
10      margin: 0px;
11      padding: 0px;
12      overflow: hidden;
13    }
14  </style>
15  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
16  <title>Canvas 2D frame rate test: bouncing balls</title>
17</head>
18<body>
19
20<canvas id="canvas" width="500" height="500">
21</canvas>
22<img id="ballImage" src="chromium.png" height="0" width="0"></img>
23<img id="backImage" src="kiddie_logo.png" height="0" width="0"></img>
24<script>
25  var canvas = document.getElementById('canvas');
26  var canvasContext = canvas.getContext('2d');
27</script>
28</body>
29</html>
30