Skip to content

Commit d847175

Browse files
committed
Brightness example: Fix maximum value for brightness
1 parent bcbc3c3 commit d847175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/examples/Basics/Color/Brightness/Brightness.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ int lastBar = -1;
1111

1212
void setup() {
1313
size(640, 360);
14-
colorMode(HSB, width, 100, width);
14+
colorMode(HSB, width, 100, height);
1515
noStroke();
1616
background(0);
1717
}

0 commit comments

Comments
 (0)