// basic draw by paul glennon 2005 size(300, 200); background(0); noStroke(); fill(255, 0, 0); //fill with the colours (R,G,B) rect(120, 70, 60, 60); //this will set position and size (x,y,w,h) fill(0,0,255); ellipse(70,100,60,60); //(x or across, y or down,w,h) fill(255,255,0); triangle(194, 130, 224, 70, 257, 130); // (x1,y1 - x2,y2 - x3,y3)