Added updated examples from branch

This commit is contained in:
codeanticode
2012-05-09 23:58:30 +00:00
parent 9f847df04c
commit a586b8f0ae
109 changed files with 19979 additions and 0 deletions
@@ -0,0 +1,16 @@
size(100, 100, P3D);
smooth();
PShape obj = createShape();
obj.noFill();
obj.stroke(0);
obj.strokeWeight(1);
obj.vertex(15, 40); // V1 (see p.76)
obj.bezierVertex(5, 0, 80, 0, 50, 55); // C1, C2, V2
obj.vertex(30, 45); // V3
obj.vertex(25, 75); // V4
obj.bezierVertex(50, 70, 75, 90, 80, 70); // C3, C4, V5
obj.end();
background(150);
shape(obj);