diff options
Diffstat (limited to '')
-rw-r--r-- | worksheets/a1_textrain.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worksheets/a1_textrain.md b/worksheets/a1_textrain.md index 7849594..2f9c64f 100644 --- a/worksheets/a1_textrain.md +++ b/worksheets/a1_textrain.md @@ -73,7 +73,7 @@ final int threshold = 128; // Returns: thresholded color (black or white) color thresholdPixel(color inputPixel) { - if blue(inputPixel) < threshold { + if (blue(inputPixel) < threshold) { return color(0); } else { return color(255); |