UNPKG

scrawl-canvas

Version:
44 lines (35 loc) 1.22 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 Packets 002</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> - Packets test 002</h1> <h2>Scrawl-canvas packets - save and load a range of different entitys</h2> <canvas id="mycanvas" width="600" height="400" data-scrawl-canvas data-base-background-color="aliceblue" ></canvas> <p id="reportmessage"></p> <div class="testinfo"> <h4>Test purpose</h4> <ul> <li>Create a range of Scrawl-canvas entitys - Block, Picture, Phrase, Wheel, Bezier Shape, Oval Shape, Grid</li> <li>After creating each entity, save it into a packet</li> <li>Delete the entity</li> <li>Recreate the entity using the packet text</li> </ul> <p>Results from each test will appear in the console</p> <p><a href="../docs/demo/packets-002.html">Annotated code</a></p> </div> <script src="packets-002.js" type="module"></script> </body> </html>