Skip to content

Commit adc8b12

Browse files
committed
fixed size()
now uses numbers instead of variables
1 parent 157888a commit adc8b12

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎examples/BrightestPoint/BrightestPoint.pde‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OpenCV opencv;
55
void setup() {
66
PImage src = loadImage("robot_light.jpg");
77
src.resize(800, 0);
8-
size(src.width, src.height);
8+
size(800, 533);
99

1010
opencv = new OpenCV(this, src);
1111
}
@@ -18,5 +18,4 @@ void draw() {
1818
strokeWeight(4);
1919
noFill();
2020
ellipse(loc.x, loc.y, 10, 10);
21-
}
22-
21+
}

0 commit comments

Comments
 (0)