-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (45 loc) · 955 Bytes
/
index.html
File metadata and controls
45 lines (45 loc) · 955 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Design to Code</title>
<style>
body {
font-family: PingFangSC-Light;
background-color: #333;
color: #ccc;
}
canvas {
float: left;
margin-right: 8px;
margin-bottom: 8px;
}
.block {
overflow: auto;
margin-bottom: 8px;
}
</style>
</head>
<body>
<div class="block">
<canvas id="design"></canvas>
<canvas id="process"></canvas>
</div>
<div class="block">
<div>
Position:
(<span id="focusPositionX">x</span>,
<span id="focusPositionY">y</span>)
</div>
<div>
Color:
(<span id="focusColorR">r</span>,
<span id="focusColorG">g</span>,
<span id="focusColorB">b</span>)
</div>
</div>
<!-- <script src="./libs/lodash.js"></script> -->
<script src="./libs/geometry-utils.js"></script>
<script type="module" src="index.js"></script>
</body>
</html>