// Day 4 // Example: basics // mjh-2013 // These are comments! // Use them in your code to give the // human reader of your code information // about your code. // Use this to comment out a single line of code // when testing/debugging your code /* These are also comments. These are useful to comment out a full block of code. Don't be hasty to delete any working (and tested) code that you write. Comment it out instead because you might need it again later. */ // Initialize your program size(600, 400); // size of the output window background(255, 255, 25); // background colour textSize(40); // size of text fill(0); // fill colour stroke(0); // line/border colour // write some text to the output window text("Hello, World!", 25, 50); // draw some basic shape stroke(0,127,0); // make the border dark green strokeWeight(10); // make the border thick! ellipse(300,200,75,100); stroke(0,0,250); // blue border strokeWeight(1); // thin border fill(250,120,0); // fill with orange rect(200,300,200,67);