There are two steps in this challenge:
- Change the initial paintbrush - The user is asked to change the initial
ycoordinates of the paintbrush, and select a new image to use for the image of the brush.
- Make it paint! - The user is asked to create a
mouseMovedfunction, utilizing the provided painting function, to have the newly selected brush paint.
- Documentation for the
mouseMovedfunction can be found here.
- The user may want to set the
paintBrush.xcoordinate to the mouseX coordinate, and the
paintrbrush.ycoordinate to the
- The call to the
paintCanvasfunction should be inside the