//creates the boxy object to be drawn later: class ObjMlt { //declares it's going to use the object myPoint based on the class Points Points myPoint; //constructor - creates the relevant point for the boxes to draw: ObjMlt (Points _myPoint) { myPoint = _myPoint; } //display - defines the function that will draw the boxes acording to the points void display() { //stroke(255,0,0); fill(255,0,0); noStroke(); //noFill(); //shape: quad(-3,0,0,6,3,6,0,0); fill(0); quad(0,0,3,6,6,6,3,0); //quad(4, 0, 4, 4, 10, 6, 8, 6); //distance between objects: d=6; } }