Keywords changes, currently not entirely working

This commit is contained in:
Casey Reas
2012-12-09 15:35:57 +00:00
parent 46e3f44d1f
commit b9d9505827
15 changed files with 441 additions and 460 deletions
@@ -15,13 +15,10 @@ void setup() {
s.stroke(255);
s.strokeWeight(2);
// Exterior part of shape
s.beginContour();
s.vertex(-100,-100);
s.vertex(100,-100);
s.vertex(100,100);
s.vertex(-100,100);
s.vertex(-100,-100);
s.endContour();
// Interior part of shape
s.beginContour();
@@ -29,11 +26,10 @@ void setup() {
s.vertex(10,-10);
s.vertex(10,10);
s.vertex(-10,10);
s.vertex(-10,-10);
s.endContour();
// Finishing off shape
s.end();
s.end(CLOSE);
}
void draw() {