Skip to content

Commit

Permalink
repair example code
Browse files Browse the repository at this point in the history
  • Loading branch information
hx2A committed Feb 25, 2021
1 parent 4c242ac commit faf2a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/III_Utilities/DesignDemo/DesignDemo.pde
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void setup() {
// the same as colorHover.
// the third parameter can be any float in the range [0, 1]. Returned
// colors lie on the colorHover's confusion line.
colorOff = ColorUtilities.confusingColor(deficiency, colorHover, 0.2);
colorOff = ColorUtilities.confusingDichromaticColor(deficiency, colorHover, 0.2);
}

void draw() {
Expand Down

0 comments on commit faf2a21

Please sign in to comment.