213
edits
(Examples from 28.11.2011 added) |
|||
Line 771: | Line 771: | ||
// set the fill color to the incomming value: | // set the fill color to the incomming value: | ||
fill(incomingVal); | fill(incomingVal); | ||
// draw a rectangle | // draw a rectangle with the height of the | ||
// incomming value: | // incomming value: | ||
rect(0,height-incomingVal,width,height); | rect(0,height-incomingVal,width,height); |
edits