UNPKG

scrawl-canvas

Version:
46 lines (35 loc) 1.14 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 Canvas 013</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 013</h1> <h2>Path-defined entitys: Oval, Rectangle, Line, Quadratic, Bezier, Tetragon, Polygon, Star, Spiral, Cog</h2> <canvas id="mycanvas" width="600" height="2400" data-scrawl-canvas data-base-background-color="lightgray" ></canvas> <p id="reportmessage"></p> <div class="testinfo"> <h4>Test purpose</h4> <ul> <li>Create a set of defined Shape entitys</li> <li>Clone and amend them</li> <li>Position them on the canvas</li> <li>Animate entitys along their paths</li> </ul> <p><b>Touch test:</b> not required</p> <p><a href="../docs/demo/canvas-013.html">Annotated code</a></p> </div> <script src="canvas-013.js" type="module"></script> </body> </html>