[SOLVED] Having a visual problem with overlapping ellipses

float CircleX = random(0,width);
float CircleY = random(0,height);

That above will not work as width and height are only available INSIDE setup or draw functions.

I dont have Processing in my current computer so I cant test your code. What I suggested before was this:

void draw(){
  background(50);
  ...
  ...Rest of your code

}

Kf

1 Like