Processing sketch using arrays and loops to create a fade effect