AS3 bitmap blur/feedback effect
AS3 bitmap blur/feedback effect
Out of context: Reply #2
- Started
- Last post
- 11 Responses
- modern0
tweenfilterlite doesn't look the same.
This is the equivalent written in processingvoid setup() {
// ignore this bit
size(200, 200);
background(102);
stroke(255);
strokeWeight(3);
}void draw() {
// this bit!
filter(BLUR, 1);
// draw some shit
if(mousePressed) {
line(mouseX, mouseY, pmouseX, pmouseY);
}
}So instead of clearing the frame and redrawing, you blur the frame then place the next frame on top, so there is a blurred feedback left behind.