1
edit
Changes
Created page with '<source lang="javascript"> →FSOSS 2010: // Set the size of the canvas. This will overwrite the canvas // HTML attributes. This should be the first line in your sketch size…'
<source lang="javascript">
/*
FSOSS 2010
*/
// Set the size of the canvas. This will overwrite the canvas
// HTML attributes. This should be the first line in your sketch
size(100, 100);
// Set the background color to gray
background(200);
// Draw a rectangle (x, y, width, height)
rect(5, 20, 70, 50);
</source>
/*
FSOSS 2010
*/
// Set the size of the canvas. This will overwrite the canvas
// HTML attributes. This should be the first line in your sketch
size(100, 100);
// Set the background color to gray
background(200);
// Draw a rectangle (x, y, width, height)
rect(5, 20, 70, 50);
</source>