int numBalls = 100; BG main = new BG(100,50); Ball[] b =new Ball[numBalls]; int freq = 0; void setup(){ size(600,400); smooth(); for(int i=0;i