Invert color with a boolean variable and if-statements.

Link: https://editor.p5js.org/MOQN/sketches/BHdD16IHa Slide location: 2.R Interactive Drawing