GrayAreaorg_Creative-Code-Youth-Workshop/sketch_5arrays_2/sketch_5arrays_2.pde
/**
 * Array. 
 * 
 * An array is a list of data. Each piece of data in an array 
 * is identified by an index number representing its position in 
 * the array. Arrays are zero based, which means that the first 
 * element in the array is [0], the second element is [1], and so on. 
 
 */

int x = 0;
int speed=4;
int[] circleSize = {20,50,300};  


void setup() {
  size(500,500);
  
}

void draw() {
  int i = 0;
    background(0);
    
  
          
    if(mouseX > 100){
     i = 2; 
    }
    noStroke();
    fill(255);
    ellipse(width/2,height/2, circleSize[i], circleSize[i]);
    
    

  
}