-
Notifications
You must be signed in to change notification settings - Fork 128
/
Copy pathimage-filter.html
75 lines (70 loc) · 1.91 KB
/
image-filter.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
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title>🌅 Image Filter Example - Sequential Workflow Designer</title>
<meta property="og:title" content="🌅 Image Filter Example - Sequential Workflow Designer" />
<meta name="description" content="How to use Sequential Workflow Designer to create a simple image filter." />
<meta property="og:description" content="How to use Sequential Workflow Designer to create a simple image filter." />
<meta property="og:image" content="https://nocode-js.com/img/social-card.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://nocode-js.com/img/social-card.png" />
<link rel="icon" href="./assets/favicon.ico" />
<link rel="stylesheet" href="./assets/common.css" />
<style>
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
background: #171717;
}
body {
display: flex;
flex-direction: column;
}
.main {
flex: 1;
position: relative;
}
#designer {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 50%;
}
#result {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 50%;
display: flex;
align-items: center;
}
#preview {
margin: 0 auto;
}
</style>
</head>
<body>
<header class="title-bar">
<div class="column">
<h1>🌅 Image Filter Example</h1>
</div>
<div class="column text-end flex-1">
<a href="https://github.com/nocode-js/sequential-workflow-designer" target="_blank">GitHub</a>
</div>
</header>
<div class="main">
<div id="designer"></div>
<div id="result">
<canvas id="preview"></canvas>
</div>
</div>
<script src="./assets/lib.js"></script>
<script src="./assets/image-filter.js"></script>
</body>
</html>