Assignment 10 P5 interactivity
- Nicole Nitz
- Apr 16, 2019
- 1 min read


For this assignment we made a drawing application. This was probably my favorite code that we've done. For this we create a canvas, and we also create a draw function and use ellipse to create a circle/brush. To be able to draw we use mouseX and mouseY so that the circle is attached to the mouse/follows the mouse We also use if statements and the directional keys on the key board as well as "R" to control the size of the brush/circle and the color.
Comments