Labs and Works done in Physical Computing Class at SVA IXD, by Beatriz Vizcaíno.
In this lab we were required to start with a sketch previously given to us. The sketch was similar, though it had different shapes and positions. An if statement was used to so that the brush took the form of the clicked shapes. In this step the mouseX and mouseY variables where used to set the coordinates of the brush and also to create conditional statements. The “buttons” were named, button clear, 0 and 1. At the end of the code, if statements were created to check where the click was being done.