| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76c5fcb commit 994eebc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,8 +12,7 @@ void setup() { | |||
| 12 | 12 | size(640, 360, P2D); | |
| 13 | 13 | smooth(); | |
| 14 | 14 | // 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); | ||
| 17 | 16 | } | |
| 18 | 17 | ||
| 19 | 18 | void draw() { | |
@@ -27,4 +26,3 @@ void draw() { | |||
| 27 | 26 | // Drawing the PShape | |
| 28 | 27 | shape(circle); | |
| 29 | 28 | } | |
| 30 | - | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments