-
Notifications
You must be signed in to change notification settings - Fork 2
/
colortimemix.html
47 lines (47 loc) · 2.16 KB
/
colortimemix.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
<html>
<head>
<meta name="copyright" content="Copyright © 2022/01/22- [email protected] . All Rights Reserved.">
<meta charset="utf-8">
<title> Color Time Mix </title>
<link rel="stylesheet" href="index.css">
<style>
.preview {
max-width: 320px; max-height: 240px;
}
</style>
</head>
<body>
<div class="container">
<div class="controlPanel" style="display:flex">
<div>
maxWidthHeight:<input id="maxWidthHeightRange" type="range" min="16" max="2048" step="1" value="640" style="width:200px;">:<input type="text" id="maxWidthHeightText" size="5"> <br />
<input type="button" id="buttonStart" value="Start"> </input>
<input type="button" id="buttonStop" value="Stop"> </input>
delay:<input id="delayRange" type="range" min="0" max="500" step="1" value="0" style="width:200px;">:<input type="text" id="delayText" size="4">
</div>
<div>
<span style="vertical-align: top;"> type: </span>
<select id="typeSelect" size="4">
<option value="RGB" selected> RGB </option>
<option value="RGB2" > RGB2 </option>
<option value="CMY" > CMY </option>
<option value="CMY2" > CMY2 </option>
</select>
</div>
</div> <!-- controlPanel -->
<div>
<canvas id="srcCanvas" class="borderBlack preview" width=200 height=200> srcCanvas </canvas>
<canvas id="redCanvas" class="borderRed preview" width=200 height=200> redCanvas </canvas>
<canvas id="greenCanvas" class="borderGreen preview" width=200 height=200> greenCanvas </canvas>
<canvas id="blueCanvas" class="borderBlue preview" width=200 height=200> blueCanvas </canvas>
</div>
<div>
<canvas id="dstCanvas" class="borderBlack" width=200 height=200> dstCanvas </canvas>
</div>
</div> <!-- container -->
<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="colortimemix.js"> </script>
</body>
</html>