-
Notifications
You must be signed in to change notification settings - Fork 0
/
cm_BreakdownWipe.nk
260 lines (260 loc) · 4.58 KB
/
cm_BreakdownWipe.nk
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
Group {
inputs 2
name cm_BreakdownWipe
tile_color 0x10101ff
note_font "Verdana Bold"
selected true
xpos 66
ypos -480
cached true
addUserKnob {20 settings l cm_Wipe}
addUserKnob {26 text_11 l "" +STARTLINE T " "}
addUserKnob {6 line l "enable line" +STARTLINE}
line true
addUserKnob {26 text_13 l "" +STARTLINE T " "}
addUserKnob {7 thickness R 0 3}
thickness 1
addUserKnob {19 color_rgba l color}
color_rgba {1 1 1 1}
addUserKnob {6 color_rgba_panelDropped l "panel dropped state" +HIDDEN +STARTLINE}
addUserKnob {26 text_7 l "" +STARTLINE T " "}
addUserKnob {26 ""}
addUserKnob {26 text_12 l "" +STARTLINE T " "}
addUserKnob {26 text_5 l "" +STARTLINE T "Wipe Position"}
addUserKnob {26 text_6 l "" +STARTLINE T " "}
addUserKnob {26 text_4 l "" +STARTLINE T <h1>BEFORE</h1>}
addUserKnob {7 wipe l "" -STARTLINE}
wipe 0.575
addUserKnob {26 text_9 l "" -STARTLINE T <h1>AFTER</h1>}
addUserKnob {26 text_10 l "" +STARTLINE T " "}
addUserKnob {7 rotate R -180 180}
addUserKnob {7 softness R 0 500}
addUserKnob {26 text_8 l "" +STARTLINE T " "}
addUserKnob {26 text_1 l "" +STARTLINE T " "}
addUserKnob {26 ""}
addUserKnob {26 text_2 l "" +STARTLINE T " "}
addUserKnob {26 text_3 l "" +STARTLINE T "BreakdownWipe v1.0 | © 2024 | <a href=\"www.chrismccrowe.com\" style=\"color:#757575; text-decoration:none\">www.chrismccrowe.com</a>"}
}
Input {
inputs 0
name before
xpos 855
ypos -30
}
set N4e80fc00 [stack 0]
Dot {
name Dot1
note_font "Verdana"
xpos 883
ypos 87
}
set Na661e000 [stack 0]
Dot {
name Dot2
note_font "Verdana"
xpos 766
ypos 87
}
Dot {
name Dot3
note_font "Verdana"
xpos 766
ypos 801
}
push $Na661e000
Dot {
name Dot4
note_font "Verdana"
selected true
xpos 1031
ypos 87
}
Crop {
box {{bbox.x} {bbox.y} {bbox.r} {bbox.t}}
reformat true
crop false
name Crop_toBbox1
selected true
xpos 1003
ypos 168
disable {{(parent.croptobbox)-1}}
}
Remove {
operation keep
channels rgb
name Remove1
note_font "Verdana"
selected true
xpos 1003
ypos 202
}
Rectangle {
cliptype none
area {{bbox.x-width} {"bbox.y-(width *2)"} {parent.Wipe_Position.wipe_position.x} {bbox.t+(width*2)}}
softness {{parent.softness}}
name Rectangle1
note_font "Verdana"
selected true
xpos 1003
ypos 235
}
Transform {
rotate {{parent.rotate}}
center {{parent.Wipe_Position.wipe_position} {parent.Wipe_Position.wipe_position}}
shutteroffset centred
name Transform1
note_font "Verdana"
selected true
xpos 1003
ypos 268
}
Dot {
name Dot5
note_font "Verdana"
selected true
xpos 1031
ypos 319
}
set Na6646000 [stack 0]
EdgeDetectWrapper {
channels alpha
name EdgeDetect1
note_font "Verdana"
selected true
xpos 1003
ypos 378
}
Dilate {
channels alpha
size -1
name Dilate1
note_font "Verdana"
selected true
xpos 1003
ypos 412
}
Dilate {
channels alpha
size {{parent.thickness-1}}
name Dilate2
note_font "Verdana"
selected true
xpos 1003
ypos 446
}
Transform {
scale {1.005 1}
center {{width/2} {height/2}}
name Transform2
selected true
xpos 1003
ypos 480
}
Grade {
channels rgba
multiply 11
black_clamp false
white_clamp true
name Grade1
note_font "Verdana"
selected true
xpos 1003
ypos 504
}
Shuffle {
in alpha
name ALPHA
tile_color 0xff
note_font "Bitstream Vera Sans Bold"
note_font_size 21
selected true
xpos 1003
ypos 528
postage_stamp true
}
Unpremult {
name Unpremult1
note_font "Verdana"
selected true
xpos 1003
ypos 612
}
Grade {
channels rgba
white {{parent.color_rgba} {parent.color_rgba} {parent.color_rgba} {parent.color_rgba}}
black_clamp false
name Grade2
note_font "Verdana"
selected true
xpos 1003
ypos 636
}
Premult {
name Premult1
note_font "Verdana"
selected true
xpos 1003
ypos 660
}
Clamp {
name Clamp1
note_font "Verdana"
selected true
xpos 1003
ypos 684
}
Dot {
name Dot6
selected true
xpos 1031
ypos 754
}
push $Na6646000
Input {
inputs 0
name after
xpos 597
ypos 321
number 1
}
push $Na661e000
Merge2 {
inputs 2+1
bbox B
name Merge1
note_font "Verdana"
xpos 855
ypos 321
}
Merge2 {
inputs 2
bbox B
name Merge2
note_font "Verdana"
xpos 855
ypos 757
disable {{!parent.line}}
}
CopyBBox {
inputs 2
name CopyBBox1
note_font "Verdana"
xpos 855
ypos 803
}
Output {
name Output1
xpos 855
ypos 866
}
push $N4e80fc00
NoOp {
name Wipe_Position
note_font "Verdana"
xpos 706
ypos -30
addUserKnob {20 User}
addUserKnob {12 wipe_position l wipe}
wipe_position {{parent.wipe*width} {bbox.t/2}}
}
end_group