-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdotize.html
37 lines (37 loc) · 1.49 KB
/
dotize.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
34
35
36
37
<html>
<head>
<meta name="copyright" content="Copyright © 2017/02/26- [email protected] . All Rights Reserved.">
<meta charset="utf-8">
<title> dotize </title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<div id="controlPanel" style="display:flex">
<div>
scale:<input id="scaleRange" type="range" min="1" max="64" step="1" value="8">:<input type="text" id="scaleText" size="3">
<br />
border:<input id="borderRange" type="range" min="0" max="4" step="1" value="1">:<input type="text" id="borderText" size="2">
</div>
<div>
maxWidthHeight:<input id="maxWidthHeightRange" type="range" min="16" max="800" step="1" value="256">:<input type="text" id="maxWidthHeightText" size="4">
<br />
borderColor:<input id="borderColorText" class="jscolor" value="000000" size="9">
</div>
</div>
<div style="display:flex">
<div>
<canvas id="srcCanvas" class="borderRed" width=200 height=200> srcCanvas </canvas>
</div>
<div>
<canvas id="dstCanvas" class="borderBlue" width=200 height=200> dstCanvas </canvas>
</div>
</div>
</div>
<script type="text/javascript" src="dist/jscolor/jscolor.js"> </script>
<script type="text/javascript" src="lib/drop.js"> </script>
<script type="text/javascript" src="lib/bind.js"> </script>
<script type="text/javascript" src="lib/canvas.js"> </script>
<script type="text/javascript" src="dotize.js"> </script>
</body>
</html>