scrawl-canvas
Version:
Version 8.9.4 - 19 Nov 2022
45 lines (34 loc) • 1.12 kB
HTML
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo Canvas 006</title>
<link href="css/normalize.css" rel="stylesheet" />
<link href="css/tests.css" rel="stylesheet" />
</head>
<body>
<h1><a href="index.html">Scrawl-canvas v8</a> - Canvas test 006</h1>
<h2>Canvas tween stress test</h2>
<h3>Click on porthole to increase number of star tweens</h3>
<canvas
id="porthole"
width="600"
height="600"
data-scrawl-canvas
data-base-background-color="black"
></canvas>
<p id="reportmessage"></p>
<div class="testinfo">
<h4>Test purpose</h4>
<ul>
<li>Create and run many tweens/tickers, each associated with its own entity</li>
<li>Test to see how many tweens a browser can run at a reasonable speed</li>
</ul>
<p><b>Touch test:</b> should work as expected</p>
<p><a href="../docs/demo/canvas-006.html">Annotated code</a></p>
</div>
<script src="canvas-006.js" type="module"></script>
</body>
</html>