// Processing basic shapes.
// Copy all of this into a new Processing window
// Run it with the Run icon or ctrl-R
// Remove the comment characters // from the lines in each section in turn and re-run.
// Try changing the numbers or adding more items.
size(300, 100); // window size
//rect(10, 10, 10, 10); // rectangle
//fill(0, 255, 0); // different colour: Red,Green,Blue
//rect(40, 40, 50, 30);
//fill(120, 0, 120); // red+blue = purple
//ellipse(120, 20, 40, 40); // circle
//fill(120); // grey
//stroke(0,0,255); // change border colour
//ellipse(180, 40, 30, 60);
//noStroke(); // no border
//fill(0,0,200); // blue
//ellipse(220, 50, 30, 30);
//stroke(0); // border black
//line(30, 10, 170, 50);
//point(7, 7); // 1 pixel, up left of rect
// At the top of the Processing IDE (Integrated Development Environment) see "File". Use that and save what you've done.