Skip to content

Instantly share code, notes, and snippets.

@draconiansolo
Created March 12, 2015 17:32
Show Gist options
  • Save draconiansolo/5443bba6ba5974d7eb78 to your computer and use it in GitHub Desktop.
Save draconiansolo/5443bba6ba5974d7eb78 to your computer and use it in GitHub Desktop.
Convolve with tiny kernel... weird!
set cut_paste_input [stack 0]
version 8.0 v6
Radial {
inputs 0
area {0 0 256 256}
name Radial2
selected true
xpos 2696
ypos 3110
}
Constant {
inputs 0
color {0 0 0 1}
format "256 256 0 0 256 256 1 square_256"
name Constant1
selected true
xpos 2600
ypos 2943
}
Expression {
expr0 (x-width/2)/width
expr1 (y-height/2)/height
name Expression8
label "Zoom blur vectors expression"
selected true
xpos 2600
ypos 3008
}
Transform {
scale 0.01
center {128 128}
name Transform6
selected true
xpos 2600
ypos 3062
}
Multiply {
inputs 1+1
channels rgb
value 0
invert_mask true
name Multiply49
selected true
xpos 2600
ypos 3110
}
push $cut_paste_input
Convolve2 {
inputs 2
use_input_channels true
name Convolve1
selected true
xpos 2408
ypos 3152
}
set N980185f0 [stack 0]
push $N980185f0
Multiply {
channels rgb
value -1
name Multiply50
selected true
xpos 2264
ypos 3158
}
ShuffleCopy {
inputs 2
red red
green green
blue red2
alpha green2
name ShuffleCopy3
label "\[value in] to \[value out]"
selected true
xpos 2264
ypos 3200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment