alpha doesn't work well under 32 (!)
in
Programming Questions
•
1 year ago
When I use
at the beginning of the draw() to get a blurry/trace effect, I've always had issue with alpha values under 32.
Does anyone know why?
try this, then change the value of alpha with a lower one and look close a little from below...
- fill(col, alpha);
- rect(0, 0, width, height);
at the beginning of the draw() to get a blurry/trace effect, I've always had issue with alpha values under 32.
Does anyone know why?
try this, then change the value of alpha with a lower one and look close a little from below...
- int op = 32;
- void setup(){
- size(200, 200);
- background(255);
- }
- void draw(){
- fill(255, op);
- rect(0, 0, width, height);
- fill(0);
- ellipse(random(width), random(height), 10, 10);
- }
1