We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
filter blur (Read 471 times)
filter blur
Jan 12th, 2008, 9:18pm
 
Quote:

import processing.candy.*;
import processing.xml.*;

SVG dessin;

void setup(){
   size(800,600);
   background(38,177,228);
   smooth();
   frameRate(30);
   
   dessin = new SVG(this,"cercle_contour_vectoriz_blur.svg");
   
 }
 
void draw(){
   
   dessin.draw();
   filter(BLUR,6);
 }


why does the blur get bigger and bigger each second ?
(sorry I'm a newbie on processing)
Re: filter blur
Reply #1 - Jan 12th, 2008, 9:24pm
 
because you don't clear your screen every frame. blur the blurred image etc...

background(0) will do the trick.
Re: filter blur
Reply #2 - Jan 12th, 2008, 9:27pm
 
I just figure a few minutes ago, my bad !! sorry for this really bad post

thx anyway
Page Index Toggle Pages: 1