-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathalphacomponent.html
63 lines (63 loc) · 3.17 KB
/
alphacomponent.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<head>
<meta name="copyright" content="Copyright © 2021/04/07- [email protected] . All Rights Reserved.">
<meta charset="utf-8">
<title> Alpha Component </title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<div id="controlPanel" style="display:flex">
<div>
maxWidthHeight:<input id="maxWidthHeight" type="range" min="16" max="2048" step="1" value="320">:<input type="text" id="maxWidthHeightText" size="5">
</div>
<div>
<input type="color" id="backgroundColor" value="#FFFFFF" />:<input type="text" id="backgroundColorText" size="9" value="#FFFFFF">
</div>
<div>
checkboard <input type="checkbox" id="checkboard" checked/>
</div>
</div>
</div>
<div>
<div style="float:left">
srcCanvas <br />
<canvas id="srcCanvas" class="borderGray" width=200 height=200> srcCanvas </canvas>
</div>
<div style="float:left">
rgbCanvas <br />
<canvas id="dstCanvas0" class="borderWhite" width=200 height=200> dstCanvas0 </canvas>
</div>
<div style="float:left">
multi1:<input id="multi1" type="range" min="0" max="2" step="0.1" value="1.0">:<input type="text" id="multi1Text" size="4"> <br />
plus1:<input id="plus1" type="range" min="-1" max="1" step="0.1" value="0.0">:<input type="text" id="plus1Text" size="4"> <br />
<canvas id="dstCanvas1" class="borderRed" width=200 height=200> dstCanvas1 </canvas>
</div>
<div style="float:left">
multi2:<input id="multi2" type="range" min="0" max="2" step="0.1" value="1.0">:<input type="text" id="multi2Text" size="4"> <br />
plus2:<input id="plus2" type="range" min="-1" max="1" step="0.1" value="0.0">:<input type="text" id="plus2Text" size="4"> <br />
<canvas id="dstCanvas2" class="borderGreen" width=200 height=200> dstCanvas2 </canvas>
</div>
<div style="float:left">
multi3:<input id="multi3" type="range" min="0" max="2" step="0.1" value="1.0">:<input type="text" id="multi3Text" size="4"> <br />
plus3:<input id="plus3" type="range" min="-1" max="1" step="0.1" value="0.0">:<input type="text" id="plus3Text" size="4"> <br />
<canvas id="dstCanvas3" class="borderBlue" width=200 height=200> dstCanvas3 </canvas>
</div>
<div style="float:left">
multi4:<input id="multi4" type="range" min="0" max="2" step="0.1" value="1.0">:<input type="text" id="multi4Text" size="4"> <br />
plus4:<input id="plus4" type="range" min="-1" max="1" step="0.1" value="0.0">:<input type="text" id="plus4Text" size="4"> <br />
<canvas id="dstCanvas4" class="borderBlack" width=200 height=200> dstCanvas4 </canvas>
</div>
<div style="float:left">
dstCanvas <br />
<canvas id="dstCanvas" class="borderGray" width=200 height=200> dstCanvas </canvas>
</div>
</div>
<script type="text/javascript" src="lib/drop.js"> </script>
<script type="text/javascript" src="lib/bind.js"> </script>
<script type="text/javascript" src="lib/image.js"> </script>
<script type="text/javascript" src="lib/canvas.js"> </script>
<script type="text/javascript" src="lib/color.js"> </script>
<script type="text/javascript" src="alphacomponent.js"> </script>
</body>
</html>