-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanvas.html
33 lines (24 loc) · 1.33 KB
/
canvas.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
33
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Andrew Hoyer">
<meta name="description" content="Nice simple JS cloth simulation built with the HTML5 canvas">
<title>Andrew Hoyer | The Cloth Simulation</title>
<script type="text/javascript" charset="utf-8" src="mootools-1.js"></script>
<script type="text/javascript" charset="utf-8" src="fast_vector.js"></script>
<script type="text/javascript" charset="utf-8" src="canvas.js"></script>
<script type="text/javascript" charset="utf-8" src="point.js"></script>
<script type="text/javascript" charset="utf-8" src="constraint.js"></script>
<script type="text/javascript" charset="utf-8" src="cloth.js"></script>
</head>
<body data-twttr-rendered="true">
<div >
<div >
<canvas width="650px" height="450px">
<strong>Sorry, It looks as though your browser does not support the canvas tag...</strong> If you can, I suggest that you try Chrome or Safari.
</canvas>
<p>Click and drag to move points. Hold down any key to pin them.</p>
<p><input id="constraints" checked="checked" type="checkbox">Draw Lines <input id="points" type="checkbox">Draw Points<br></p>
</div>
</div>
</body></html>