Skip to content

Commit b9b3456

Browse files
authored
Merge pull request #777 from bclausdorff/fix_example_color_brightness
Brightness example: Fix maximum value for brightness
2 parents 3c12ca0 + d847175 commit b9b3456

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)