git @ Cat's Eye Technologies Dipple / master javascript / canvas2.html
master

Tree @master (Download .tar.gz)

canvas2.html @masterraw · history · blame

<!DOCTYPE html>
<!--
SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
For more information, please refer to <https://unlicense.org/>
SPDX-License-Identifier: Unlicense
-->
<head>
  <meta charset="utf-8">
  <title>HTML5 Canvas experiment #2</title>
  <script src="playfield.js"></script>
  <script src="canvas2.js"></script>
  <style>
#canvas { border: 1px solid blue; }
  </style>
</head>
<body>

<h1>HTML5 Canvas experiment #2</h1>

<canvas id="canvas" width="400" height="400">
Your browser doesn't support displaying an HTML5 canvas.
</canvas>

</body>
<script>
  new CanvasExperiment2().start(document.getElementById('canvas'));
</script>