UNPKG

scrawl-canvas

Version:
45 lines (33 loc) 1.08 kB
<!DOCTYPE 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 DOM 005</title> <link href="css/normalize.css" rel="stylesheet" /> <link href="css/tests.css" rel="stylesheet" /> <style> #porthole { touch-action: none; } </style> </head> <body> <h1><a href="index.html">Scrawl-canvas v8</a> - DOM test 005</h1> <h2>DOM tween stress test</h2> <h3>Click on star field to add more stars</h3> <div id="porthole" data-scrawl-stack></div> <p id="reportmessage"></p> <div class="testinfo"> <h4>Test purpose</h4> <ul> <li>Create and run many tweens/tickers, each associated with a single stack element</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/dom-005.html">Annotated code</a></p> </div> <script src="dom-005.js" type="module"></script> </body> </html>