Re-organizing code! It's really essential step for me to clean up my mind for writing code.
Aim to keep setup() and draw() as clean as possible, and do everything (all calculations, drawing, etc.) in functions that you create yourself. 

I tried class{}; function(); under class{}; and arrays[]; 
Me and Olivia Kung aimed to draw different functions and arrays, and then combine them  together to find out what gonna happen to our code, and how we put them together to let it work.

I used the 
var Balls = [];
class ball {
show(){   inside ⬆️
function mousePressed(){
and Balls[0].show();   in the   function draw(){
Back to Top