Original Processing.org Example: StatementsComments
// All Examples Written by Casey Reas and Ben Fry
// unless otherwise stated.
// The size function is a statement that tells the computer
// how large to make the window.
// Each function statement has zero or more parameters.
// Parameters are data passed into the function
// and used as values for specifying what the computer will do.
size(200, 200);
// The background function is a statement that tells the computer
// which color to make the background of the window
background(102);
No comments:
Post a Comment