// We want one of each shape Square s; Circle c; void setup() { // Setup the environment size(300, 300); colorMode(RGB, 255, 255, 255, 255); smooth(); // The circle get four parameters: // 125 -> X // 125 -> Y // 10 -> Size // color -> the color of the circle c = new Circle(125, 125, 10, color(32, 64, 128)); // The Square gets three parameters // 175 -> X // 175 -> Y // 10 -> Size s = new Square(175, 175, 10); } void draw() { // clear the background background(0); // shake each item c.shake(); s.shake(); // render each item c.render(); s.render(); }