erase effect options
in
Programming Questions
•
9 months ago
hi, i want make random drawings like this, that slowly erases
and keep drawing on top of the old one
i use this technique of placing opaque rect instead of background
BUT this is not the effect i want exactly, the erase is even to slow or fast
and i want drawing to be fully white and then fade out slowly to clear space for new one
not blurring every point
maybe even give time for drawing to complete, erase, start again...
hope i make sense
any suggestions?
float a;
void setup(){
size(200,200);
background(0);
}
void draw(){
fill(0, 5);
rect(0,0,width, height);
fill(255);
float x= noise(a,20)*width;
float y= noise(a,10)*height;
ellipse(x,y,5,5);
a+=0.03;
}
and keep drawing on top of the old one
i use this technique of placing opaque rect instead of background
BUT this is not the effect i want exactly, the erase is even to slow or fast
and i want drawing to be fully white and then fade out slowly to clear space for new one
not blurring every point
maybe even give time for drawing to complete, erase, start again...
hope i make sense
any suggestions?
float a;
void setup(){
size(200,200);
background(0);
}
void draw(){
fill(0, 5);
rect(0,0,width, height);
fill(255);
float x= noise(a,20)*width;
float y= noise(a,10)*height;
ellipse(x,y,5,5);
a+=0.03;
}
1