Changes

Jump to: navigation, search

FSOSS 2010/processing.js/example1

85 bytes added, 16:07, 25 October 2010
no edit summary
/*
FSOSS 2010
Example 1of size, background and rect Andor Salga
*/
// 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 Reference page for rectangle (x, y, width, height):// http://www.processing.org/reference/rect_.html
rect(5, 20, 70, 50);
</source>
[http://studio.sketchpad.cc/zj4P0Pcuj2 Run me]
1
edit

Navigation menu