forked from amclark/shapesdemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (32 loc) · 1.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML5 Canvas demo 2.1</title>
<script type="text/javascript" src="shapes.js"></script>
</head>
<body onload="init()">
<div id="container">
<canvas id="canvas1" width="400" height="300" style="border: 1px solid black;">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
</div>
<div style="font-family: Verdana; font-size: 12px;">
<p>Click to select. Click on selection handles to resize. Double click to create a new node.</p>
<p>
<a href="shapes.js">link to the javascript file.</a>
</p><p>
<a href="http://simonsarris.com/blog/225-canvas-selecting-resizing-shape">link to tutorial</a>
</p><p>
<a href="http://simonsarris.com/blog/510-making-html5-canvas-useful">link to tutorial part 1</a>
</p><p>
Note that part 1 of the tutorial received a significant update, this version is a
combination of the new part 1 with the outdated part 2, merged by
<a href="https://github.com/amclark">Andrew Clark</a>.
</p><p>
<br />
<a href="http://simonsarris.com">simonsarris.com</a>
</p>
</div>
</body>
</html>