FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

updated PrimitiveShape example · wsedig/processing@994eebc · GitHub

Repository navigation

Commit 994eebc

Browse files
committed
updated PrimitiveShape example
1 parent 76c5fcb commit 994eebc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎java/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ void setup() {
1212
size(640, 360, P2D);
1313
smooth();
1414
// Creating the PShape as an ellipse
15-
// The corner is -50,-50 so that the center is at 0,0
16-
circle = createShape(ELLIPSE, -50, -25, 100, 50);
15+
circle = createShape(ELLIPSE, 0, 0, 100, 50);
1716
}
1817

1918
void draw() {
@@ -27,4 +26,3 @@ void draw() {
2726
// Drawing the PShape
2827
shape(circle);
2928
}
30-

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL