updated PrimitiveShape example

This commit is contained in:
codeanticode
2013-09-03 14:40:57 -04:00
parent 7fd1455061
commit 2b2789641b
@@ -12,8 +12,7 @@ void setup() {
size(640, 360, P2D);
smooth();
// Creating the PShape as an ellipse
// The corner is -50,-50 so that the center is at 0,0
circle = createShape(ELLIPSE, -50, -25, 100, 50);
circle = createShape(ELLIPSE, 0, 0, 100, 50);
}
void draw() {
@@ -27,4 +26,3 @@ void draw() {
// Drawing the PShape
shape(circle);
}