Question: . Write a p5.js program that lets you draw pictures with the mouse. It should have these features: If you move the mouse around while
. 
Write a p5.js program that lets you draw pictures with the mouse. It should have these features: If you move the mouse around while a mouse-button is pressed down, then a line is drawn (e.g. a trail of circles or some other shape). If the mouse button is not pressed down, then no trail is left. You can select the color of the drawing line by pressing 'r' for red, 'g' for green, and 'b' for blue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
