Examples updated accordingly

This commit is contained in:
codeanticode
2012-12-30 22:51:11 +00:00
parent a4a0369e90
commit 5ecea76597
18 changed files with 125 additions and 112 deletions
@@ -12,9 +12,10 @@ void setup() {
smooth();
// Create the shape
path = createShape();
path.beginShape();
// Set fill and stroke
path.noFill();
path.stroke(255);
path.stroke(color(255));
path.strokeWeight(2);
float x = 0;
@@ -24,7 +25,7 @@ void setup() {
x+= 5;
}
// The path is complete
path.end();
path.endShape();
}